Skip to content

Commit a983d1a

Browse files
committed
opp basic
1 parent cbe27a5 commit a983d1a

File tree

2 files changed

+27
-48
lines changed

2 files changed

+27
-48
lines changed

README.md

+17-28
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,35 @@
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.
33

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.
55

66
## Class
77

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.
99

10-
ex: `home blueprint/sketch`
10+
example: `home blueprint/sketch`
1111

1212
## Object
1313

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`
1617

1718
# Advantages
1819

19-
* clear structure.
20-
* reusable.
20+
* Clear structure.
21+
* Reusable.
2122
* DRY code (don't repeat yourself).
2223
* Maintainable/Bug fixing/dedug easy.
2324
* Adoptable.
24-
* Reduce complexity.
2525
* Secure,protect infromation through encapsulation.
2626
* Faster development sprint.
2727

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)
4433

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)

resource.md

+10-20
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,13 @@
1-
# oop main principle
1+
# Resources of oop
22

3-
* Inheritance
4-
* Encapsulation
5-
* Abstraction
6-
* Polymorphism
3+
* https://www.educative.io/blog/object-oriented-programming
4+
* https://www.geeksforgeeks.org/object-oriented-programming-oops-concept-in-java/
5+
* https://medium.com/learn-how-to-program/chapter-3-what-is-object-oriented-programming-d0a6ec0a7615
6+
* https://www.freecodecamp.org/news/object-oriented-programming-concepts-21bb035f7260/
7+
* https://code.tutsplus.com/tutorials/object-oriented-php-for-beginners--net-12762
8+
* https://www.edureka.co/blog/object-oriented-programming/
79

10+
# Interview questions
11+
* https://www.edureka.co/blog/interview-questions/oops-interview-questions/ (interview questions)
12+
* https://www.fullstack.cafe/blog/csharp-object-oriented-programming-interview-questions
813

9-
10-
~ this vs self
11-
12-
* https://stackoverflow.com/questions/151969/when-to-use-self-over-this
13-
14-
15-
# mvc
16-
MVC
17-
18-
* https://www.youtube.com/watch?v=DUg2SWWK18I
19-
* https://www.educative.io/blog/mvc-tutorial
20-
21-
# why use mvc
22-
23-
* https://www.brainvire.com/six-benefits-of-using-mvc-model-for-effective-web-application-development/

0 commit comments

Comments
 (0)