Object Oriented Programming

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

Basic Definitions

1) Encapsulation
Hiding the Details Of The Internal Implementation. Hide the details about how our objects work from other object user. Stat data ( instance variables ) should be declared private. Totally Private! Keep Out! You Have A Bank Account but u cant go into the vault. Use properties to protect class state data. Also Access data via public methods

2) Inheritance
Code Reuse and Building Block Strategies.

3) Polymorphism
Similar Objects ( Many Forms )

Object Oriented Programming


OOP allows groups of Objects to cooperate with each other by exchanging data, messages and logical framework to achieve a common simple or complex goal .

Objects
Object are software constructs that encapsulate data and allow the ability to use modify and share this data with other objects.

You might also like