|
1 |
| -# oop-object-oriented-programming |
2 |
| -OOP means object oriented programming. OOP is programming paradigm which related with object. |
| 1 | +# OOP journey |
| 2 | +OOP stands for object oriented programming. OOP is programming paradigm which related with object. |
3 | 3 |
|
4 |
| -OOP main concept is object and class. each object communicate with each other. |
| 4 | +OOP main concept are object and class. Each object communicate with each other. |
5 | 5 |
|
6 | 6 | ## Class
|
7 | 7 |
|
8 |
| -Class is a template of blueprint, which contains attributes/properties/datas/sate and behavior/methods/actions. |
| 8 | +Class is a template(blueprint) for creating a object. It contains attributes/properties/datas/state and behavior/methods/actions. |
9 | 9 |
|
10 |
| -ex: `home blueprint/sketch` |
| 10 | +example: `home blueprint/sketch` |
11 | 11 |
|
12 | 12 | ## Object
|
13 | 13 |
|
14 |
| -Object is instance of class. object has attributes , methods and identify.object is instance of class. |
15 |
| -`object is real entity`, ex: `real home` |
| 14 | +Object is instance of class. Object has attributes , methods and identify. |
| 15 | + |
| 16 | +`object is a real entity`, example: `real home` |
16 | 17 |
|
17 | 18 | # Advantages
|
18 | 19 |
|
19 |
| -* clear structure. |
20 |
| -* reusable. |
| 20 | +* Clear structure. |
| 21 | +* Reusable. |
21 | 22 | * DRY code (don't repeat yourself).
|
22 | 23 | * Maintainable/Bug fixing/dedug easy.
|
23 | 24 | * Adoptable.
|
24 |
| -* Reduce complexity. |
25 | 25 | * Secure,protect infromation through encapsulation.
|
26 | 26 | * Faster development sprint.
|
27 | 27 |
|
28 |
| -# Main pillar |
29 |
| - 1. Inheritance (extends parent class with child class) |
30 |
| - 2. Encapsulation (binding properties/method one unit) |
31 |
| - 3. Abstraction (Hding implementation) |
32 |
| - 4. Polymorphism (Many form) |
33 |
| - |
34 |
| - # resource of oop |
35 |
| - |
36 |
| - * https://www.educative.io/blog/object-oriented-programming |
37 |
| - * https://www.geeksforgeeks.org/object-oriented-programming-oops-concept-in-java/ |
38 |
| - * https://medium.com/learn-how-to-program/chapter-3-what-is-object-oriented-programming-d0a6ec0a7615 |
39 |
| - * https://www.freecodecamp.org/news/object-oriented-programming-concepts-21bb035f7260/ |
40 |
| - * https://code.tutsplus.com/tutorials/object-oriented-php-for-beginners--net-12762 |
41 |
| - * https://www.edureka.co/blog/object-oriented-programming/ |
42 |
| - |
43 |
| - # interview questions |
| 28 | +# Main pillar of OOP |
| 29 | + 1. [Inheritance](https://github.com/code4mk/oop-object-oriented-oop-journey/tree/main/Inheritance) (extends parent class with child class) |
| 30 | + 2. [Encapsulation](https://github.com/code4mk/oop-object-oriented-oop-journey/tree/main/encapsulation) (binding properties/method one unit) |
| 31 | + 3. [Abstraction](https://github.com/code4mk/oop-object-oriented-oop-journey/tree/main/abstraction) (Hiding implementation) |
| 32 | + 4. [Polymorphism](https://github.com/code4mk/oop-object-oriented-oop-journey/tree/main/polymorphism) (Many form) |
44 | 33 |
|
45 |
| - * https://www.edureka.co/blog/interview-questions/oops-interview-questions/ (interview questions) |
46 |
| - * https://www.fullstack.cafe/blog/csharp-object-oriented-programming-interview-questions |
| 34 | +# Resources |
| 35 | +* [Resources](https://github.com/code4mk/oop-object-oriented-oop-journey/blob/main/resource.md) |
0 commit comments