Professional Documents
Culture Documents
Java Notations: Day 1 Learnigs
Java Notations: Day 1 Learnigs
Jeera Techno
07:23
Inheritance ----------- We can use one class properites(Methods) into another class by using 'extends'
keywords.
The main reason we are going for inheritance is to avoid multiple object creation. i.e. Memory wasteage will be
low and Code Reusability will increase.
Data Type
byte
short
int
long
float
double
char
boolean
String
syntax