Shery Posted November 12, 2016 Posted November 12, 2016 Hi. i'm new in computer science. can anyone help to get the basic of OOP. I have no idea about it. But i know its importance that why i want to learn it. plz help me..
fiveworlds Posted November 12, 2016 Posted November 12, 2016 (edited) You probably have a basic idea of them already from playing video games and such. Say I have a player in league of legends. The player character is an object and has information associated with it. For instance all basic characters in league of legends have attack damage attack speed health health regen armor magic resist item slot 1 item slot 2 item slot 3 item slot 4 item slot 5 item slot 6 item slot 7 skill mapping 1 skill mapping 2 skill mapping 3 skill mapping 4 position information click handlers attack animations movement animations skill animations etc In computers we often need to create complex objects to add functionality to our programs. We also have this idea of object inheritance which basically allows us to reuse components like attack damage etc between different objects. Edited November 12, 2016 by fiveworlds
Sensei Posted November 12, 2016 Posted November 12, 2016 i'm new in computer science. can anyone help to get the basic of OOP. I have no idea about it. But i know its importance that why i want to learn it. plz help me.. Did you read? https://en.wikipedia.org/wiki/Object-oriented_programming https://en.wikipedia.org/wiki/Class_(computer_programming) https://en.wikipedia.org/wiki/Class-based_programming https://en.wikipedia.org/wiki/Inheritance_(object-oriented_programming)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now