Skip to content

Commit 177b018

Browse files
committed
oops
1 parent fd56b2a commit 177b018

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

10_oops/notes.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# javascript :-
2+
It is a prototype-based language, and its classes are primarily syntatic sugar over existing prototype based inheritance mechanisms. In other words, it provides a more familiar syntax for developers coming from class-based languages such as Java or C++, but under the hood , it works somewhat differently
3+
4+
# OOP:-
5+
6+
*Object :-
7+
collection of properties and methods
8+
toLowerCase
9+
10+
** Why Use OOP
11+
%% PArts of OOP
12+
Object Literal
13+
14+
-Constructor function
15+
-Prototypes
16+
-Classes
17+
-Instances(new, this)
18+
19+
20+
21+
## 4 Pillars
22+
Abstraction:- data hiding(hide details)
23+
Encapsulation:- data wrap
24+
Inheritance
25+
Polymorphism:- many forms

0 commit comments

Comments
 (0)