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 a function argument in java?
Explain the difference between collection api and stream api in java8?
What are the fileinputstream and fileoutputstream?
What is :: operator in java?
What is default constructors?
What is the file extension for java?
What is the difference between ArrayList and Vector? which one is better in Java
How garbage collection is done in java?
What is the role of garbage collector in java?
What is the output of the below java program?
Why does java not support operator overloading?
What is the use of http-tunneling in rmi?
Can memory leak happen java?
Can we serialize singleton class?
Why do we need hashset in java?