| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • You already know Dokkio is an AI-powered assistant to organize & manage your digital files & messages. Very soon, Dokkio will support Outlook as well as One Drive. Check it out today!

View
 

Object Oriented Programming

Page history last edited by Lucas Wojciechowski 15 years, 6 months ago

Object Oriented Programming

  • Code is organized around its data

  • Data controls access to code

 

Encapsulation

  • Programming mechanism that binds code and data

  • Keeps both safe from outside use

  • "Sealed box"

  • When code and data re linked, an "object" is formed

  • Public code within an object can be accessed from anywhere

  • Private code can only be accessed from within that object

  • Public elements are used to interface with private elements

 

Polymorphism

  • Only one interface can access a general class of actions

  • Generic interface for a group of activities

 

Inheritance

  • One object can acquire properties of another

  • Hierarchical classification

  • Object must ONLY define properties which make it unique in its class.

 

Comments (0)

You don't have permission to comment on this page.