1/21
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced |
---|
No study sessions yet.
Inheritance
Classes inherit properties from other classes
Polymorphism
Objects determine appropriate operations at execution time
Abstraction
Separation of purpose from the implementation, able to use with implementation
Encapsulation
Objects combine data and operations
Four OOP Pillars
Inheritance, polymorphism, abstraction, encapsulation
Inheritance types
Public, private, protected
Public
Anything can read
Private
only accessible in that class
Protected
accessible in derived classes
Types of polymorphism
virtual members, name overloading, operator overloading
virtual members
has ‘virtual’ in the declaration, defined in a derived class
name overloading
same method with different parameters
operator overloading
different implementations based on it’s arguments
ADT Lifecycle
construction, initialization, usage, deconstruction
AND
&
OR
|
XOR
^
One’s compliment
~
Left shift
<<
Right shift
>>
Makefile parts
dependency line, comments, rules, shell line, macros, inference rules
Makefile comment
#comment