Senin, 19 Desember 2016

What are the principles of Object Orientation

In this article we will look at the key object orientation principles also known as OOP principles. Although some people or textbooks mention three OOP principles, I would say there are four key principles namely abstraction, encapsulation, inheritance and polymorphism. Note: OOP refers to Object Oriented Programming.   Abstraction Abstraction is first of the object orientation principles. It is defined as hiding the complex details and presenting only with the relevant or necessary details. Abstraction is used to manage complexity while writing programs. Encapsulation and inheritance are used to implement abstraction while writing programs. Abstraction represents the external behavior of the object (what

The post What are the principles of Object Orientation appeared first on Coding Security.


What are the principles of Object Orientation
read more

Tidak ada komentar:

Posting Komentar