Source |
CodingSec |
Identifiant |
43803 |
Date de publication |
2016-09-10 17:00:12 (vue: 2016-09-10 17:00:12) |
Titre |
What are object orientation principles in java |
Texte |
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
|
Envoyé |
Oui |
Condensat |
abstraction also although appeared are articleâ we asâ hiding behavior coding complex complexity defined details encapsulation external first four implement inheritance java key known look manage mention namely necessary note: object only oop orientation oriented people polymorphism post presenting principles programming programs refers relevant represents say security some textbooks three used what will would writing â abstraction |
Tags |
|
Stories |
|
Notes |
|
Move |
|