Advertisement
Felanpro

Object Oriented Programming

Aug 31st, 2016
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.02 KB | None | 0 0
  1. @- Requires the basic knowledge of classes and object - @
  2.  
  3. --- Object Oriented Programming ---
  4.  
  5. A lof to people have been asking me what is "Object Oriented Programming"? Well I'm here to give you my own personal basic explanation of the concept and tell you everything you need to know about it.
  6.  
  7. Object Oriented Programming, also known as (OOP) - acronym, is the concept of a programming language having objects.
  8. An object is another reference for the class name and is basically an accessor for the class. For example) You might have a class called Volvo and an object called car and you want to call something from that class. The Volvo class may have multiple and different types of members. Maybe one variable in the class is called price and you want to call the variable, this is how you would do it)
  9. object.member. By using the dot operator we can call a member from the class by using our object which is a reference/another name for our class. Hopefully you are understanding the concept of Object Oriented Programming a bit more.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement