Update oop-basics.md

add - a article for OOP (Introduction)
add - a video for OOP (Simplified)
pull/8597/head
Mohammad Mehran Fallah 4 days ago committed by GitHub
parent afc6f2d5ae
commit 5faca5aba0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 7
      src/data/roadmaps/datastructures-and-algorithms/content/programming-fundamentals/oop-basics.md

@ -1,3 +1,8 @@
# OOP Basics # OOP Basics
Object-oriented programming (OOP) is a programming paradigm that uses "objects" to design applications and software. In OOP, each object is an instance of a class. A class defines the properties (often known as attributes or fields) and methods (actions) that are common to all objects of a certain kind. A key principle of OOP is the ability to hide certain parts of the objects’ data from the outside, a concept known as encapsulation. Other key principles are inheritance, a way to form new classes using classes that have already been defined, and polymorphism, the concept of designing objects to share behaviors and being able to override shared behaviors with specifics. Object-oriented programming (OOP) is a programming paradigm that uses "objects" to design applications and software. In OOP, each object is an instance of a class. A class defines the properties (often known as attributes or fields) and methods (actions) that are common to all objects of a certain kind. A key principle of OOP is the ability to hide certain parts of the objects’ data from the outside, a concept known as encapsulation. Other key principles are inheritance, a way to form new classes using classes that have already been defined, and polymorphism, the concept of designing objects to share behaviors and being able to override shared behaviors with specifics.
Visit the following resources to learn more:
- [@article@Introduction of OOP](https://www.geeksforgeeks.org/introduction-of-object-oriented-programming/)
- [@video@Object-Oriented Programming (Simplified)](https://youtu.be/pTB0EiLXUC8?si=I8rV2K5fhpoqmixX)

Loading…
Cancel
Save