) Everything in Java is not considered as a Object, there are primitive data types available.
Ex : for no.s we are using the int which is not a object type. (only Integer is object type ).
2) All features of OOP language is not fully supported by Java.
Ex : Multiple Inheritance, Operator Overloading, etc.
Ex : for no.s we are using the int which is not a object type. (only Integer is object type ).
2) All features of OOP language is not fully supported by Java.
Ex : Multiple Inheritance, Operator Overloading, etc.
But we can make it as a fully object oriented language through using wrapper classes
instead of int use Integer
- - - byte -Byte
char - Character
double - Double
float - Float ... etc
instead of int use Integer
- - - byte -Byte
char - Character
double - Double
float - Float ... etc
No comments:
Post a Comment