Definitions Flashcards
Polymorphism
Allows us to have the same method take on different meanings depending on the instantiated class
Encapsulation
Combining together of class attributes and method behaviors into a single data type
With the public interface and private implantation
Information Hiding
Hiding fields and complexity of code from class code
Class
A user defined data type that encapsulates data and methods
Acts as a template for construction of objects
Object
Instance of a class
Application / Interface
The app that accesses the interface that accesses the class
Instantiation
The instance that memory is allocated for specific object of a class
Inheritance
The ability to add onto a class To create a more specific class model extending it
Parameters
Used to pass variables between methods
Arrays
A variable that stores many elements of a Particular type or object
Parallel Arrays
A set of arrays which are used with in conjunction with each other where by different related content is stored in corresponding elements
Overload
If you have more than one method with the same name but bearing different methods the method is called overloading
Override
When a child class inherits from a parent class that have similar methods to each other the methods are overridden
Virtual
When a method is placed in the parent class and the override directive is used in the child class
Constructor
The method that instantiates the objects of the class