OOP Flashcards
What are classes?
A template definition of the methods and variables in a particular kind of object.
What are objects/instances?
This is a data field that has unique attributes and behavior.
What is inheritance?
This is a mechanism that allows a class to inherit properties and behaviors from another class.
What is encapsulation?
A way to restrict the direct access to some components of an object.
A concept used to bundle data and methods into easy-to-use units.
What is polymorphism and overloading?
This is the provision of a single interface to entities of different types, or the use of a single symbol to represent multiple different types.
The ability of a message to be displayed in more than one form.