Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 4. (15 points) We discussed three characteristics that define Object-Oriented Programming. Name and give a brief definition of each.
- • Encapsulation- data hiding as much as possible, internal working and structure of the object are hidden for reliability.
- • Inheritance- create a base class, create derived class that inherits data members and/or function members.
- • Polymorphism Recursive types- ability of one type, A, to appear as and be used like another type, B
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement