Level 105 Level 107
Level 106

Object-Oriented Programming


12 words 0 ignored

Ready to learn       Ready to review

Ignore words

Check the boxes below to ignore/unignore words, then click save at the bottom. Ignored words will never appear in any learning session.

All None

Ignore?
objects
Bob is a man(object)
CLASSES
Class = blueprint, recipe
encapsulation
Bob holds data (e.g. birth date) and methods that work with the data (e.g. calculate age)
AGGREGATION
also know as "composition", ability to combine several objects into a new one
inheritance
designer, project manager & programmer are all based on and extend a person object
PLOYMORPHISM
ability to to call the same method on different objects — each respond in their own way
properties
Bob's date of birth is June 1st, 1980, gender: male, hair: black
methods
Bob can eat sleep drink dream talk calculate his age
prototype (OOP)
Bob is based on another object called Programmer
information hiding
don't need to know how calculation method works internally
aggregation, composition
Bob is part of dev team object , with Jill, designer object, & Jack project manager object
polymorphism, method overriding
you can call methods Bob:talk, Jill:talk & Jack:talk and all will work fine producing different results. each "object" inherited the "method" talk from Person and customized it