docs(java): update oop content (#6454)
parent
b49d9e8aa4
commit
206c71fb23
1 changed files with 10 additions and 4 deletions
@ -1,14 +1,20 @@ |
||||
# OOP |
||||
|
||||
Object-oriented programming is a core of Java Programming, which is used for designing a program using classes and objects. This can also be characterized as data controlling for accessing the code. |
||||
Object-oriented programming (OOP) is a programming paradigm based on the concept of objects, which can contain data and code: data in the form of fields (often known as attributes or properties), and code in the form of procedures (often known as methods). In OOP, computer programs are designed by making them out of objects that interact with one another. |
||||
|
||||
Abstraction, encapsulation, polymorphism, and inheritance are the four main theoretical principles of object-oriented programming. But Java also works with three further OOP concepts: association, aggregation, and composition. |
||||
|
||||
Visit the following resources to learn more: |
||||
|
||||
- [@article@Class](https://www.javatpoint.com/object-and-class-in-java) |
||||
- [@article@Inheritance](https://www.javatpoint.com/inheritance-in-java) |
||||
- [@article@Polymorphism](https://www.javatpoint.com/runtime-polymorphism-in-java) |
||||
- [@article@Abstraction](https://www.softwaretestinghelp.com/what-is-abstraction-in-java/) |
||||
- [@article@Encapsulation](https://www.programiz.com/java-programming/encapsulation) |
||||
|
||||
Visit the following resources to learn more: |
||||
|
||||
- [@article@Association](https://www.javatpoint.com/association-in-java) |
||||
- [@article@Aggregation](https://www.javatpoint.com/aggregation-in-java) |
||||
- [@article@Composition](https://www.geeksforgeeks.org/composition-in-java/) |
||||
- [@article@Java OOPs Concepts](https://www.javatpoint.com/java-oops-concepts) |
||||
- [@article@Using OOP concepts to write high-performance Java code](https://raygun.com/blog/oop-concepts-java) |
||||
- [@video@Java complete OOPs playlist](https://youtube.com/playlist?list=PL9gnSGHSqcno1G3XjUbwzXHL8_EttOuKk) |
||||
- [@video@Java OOPs Concepts](https://www.youtube.com/watch?v=6T_HgnjoYwM) |
||||
|
Loading…
Reference in new issue