What is a class?
A class is a set template of methods and variables in a particular kind of object. Anobject is a specific instance of class, and contains real values instead of variables
Properties and Methods
A Property is a field of objects or classes that have set getter or setter routines.Methods belong to objects or classes and usually express the verbs of the object orclass.
Languages
Java, Python, C++, Visual Basic and Ruby are all examples of OO languages
Pros
Makes it easier to provide working code, other coders do not need to know how theclass works internally, code can be re-used, and its portable.
Cons
Complex, can take time and skill to make a efficient and flexible class. They alsoaren’t as compact and efficient as writing code into a low level language