OOP fundamentals Flashcards
Inheritance
enables new objects to take on properties of existing objects
Single inheritance
derived class can only have one parent class
Multiple inheritance
allows a class to be derived from two or more classes inheriting from memebers of all parents
Polymorphism
ability to present the same interface for differing underlying forms
Tpes of polymorphism
Overloading
Overriding
Overloading
two or more methods with same name but diff signatures
Overriding
Replacing an inherited method with another having the same signature
Abstraction
process of defining the essential concepts while ignoring the inessential details
Data Abstraction
programming language define constructs to simpify the way info is presented to programmer
Functional Abstraction
programming languages have constructs that gift wrap very complex and low level instructions into much more readable form
Object Abstraction
OOP languages take the concept farther and abstract programming constructs as objects
Accessibility scope
boundary of access to a class and its members
Encapsulation
process of hiding an objects implementation from another object while presenting only the interfaces that should be visible