Is java is a fully object object oriented language?
Answer Posted / kailash karki
let me explain u all.
java is 100% oops. dont look at primitives cause java also created wrapper classes like Integer, Float etc. wrapper class is only created to remove this ambiguity. otherwise u tell me where u'l use Wrapper classes.
Integer a=new Integer(1);
Integer b=new Integer(2);
int c= a+b;
run and see, the a and b are two object and can be added without any error. cause internally all r treated as a object.(unboxing) . so no issue, java is purely 100% OOP
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the use of StringTokenizer class?
Can a main method be overloaded?
Can we sort array in java?
How garbage collection is done in java?
design an lru cache in java?
What is local variable and instance variable?
What is the different types of functions?
How to provide security in java
What is function declaration?
What do you understand by final value?
What is the scope or life time of instance variables?
What is the ==?
Explain importance of finally block in java?
Which class is used by server applications to obtain a port and listen for client requests?
When the constructor of a class is invoked?