Skip to content

Commit 9ca7cfa

Browse files
authored
Create basics of Object Oriented Programming.txt
1 parent 405bb29 commit 9ca7cfa

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
OOPS : Object Oriented Programming
2+
3+
1. Encapsulation: Bundling the data (variables)
4+
and the methods that operate on the data into a single unit known as a class.
5+
6+
7+
2. Inheritance: Allowing a new class (subclass) to take properties
8+
and behavior (methods) from an existing class (superclass).
9+
10+
11+
3. Polymorphism: A mechanism that allows you to perform
12+
a single action in different ways.
13+
14+
15+
4. Abstraction: Hiding the complexity of the system by providing only
16+
essential information, allowing users to interact with the system at a higher level.

0 commit comments

Comments
 (0)