From 206c71fb2301106de214b997186031162ac9f63f Mon Sep 17 00:00:00 2001 From: "J. Degand" <70610011+jdegand@users.noreply.github.com> Date: Fri, 9 Aug 2024 19:13:34 -0400 Subject: [PATCH] docs(java): update oop content (#6454) --- .../java/content/100-java-fundamentals/105-oop.md | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/src/data/roadmaps/java/content/100-java-fundamentals/105-oop.md b/src/data/roadmaps/java/content/100-java-fundamentals/105-oop.md index 04a049c4e..a23829e60 100644 --- a/src/data/roadmaps/java/content/100-java-fundamentals/105-oop.md +++ b/src/data/roadmaps/java/content/100-java-fundamentals/105-oop.md @@ -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)