Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
45 lines (43 loc) · 1.13 KB

File metadata and controls

45 lines (43 loc) · 1.13 KB
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
package oops;
public class OOPDocs {
/*------------------- OOP(Object Oriented Programming) ---------------------
*
* 1) class and object
* 2) Encapsulation
* 3) Inheritance
* 4) Polymorphism
* 5) Abstraction
* a) Abstract class
* b) Interface
*
* --------------- class ---------------------
* # use to represent real world things/entity.
* # class contains properties and methods.
* # class is also known as blueprint/template of object.
* # collection/group of objects having similar behaviors.
* # its a user defined data types or reference data type.
*
* syntax :
* class class_name{
*
* //properties/feature/state/attributes/instance variable
*
* //methods/function/behaviors/responsibilities/job/procedure
*
* ]
*
* -------------- Object ---------------------
* # implementation of class
* # instance of class is object and Vs.
* # object contains instance variable and instance method.
* # object allocates memory when it created
* syntax :
*
* class_name objt_name = nee class_name();
*
* eg :
* A a = new A();
* Fan f = new Fan();
*
*/
}
Morty Proxy This is a proxified and sanitized view of the page, visit original site.