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 locale in java?
What is the best way to findout the time/memory consuming process?
What is the size of int in 64-bit jvm?
How many types of exception can occur in a java program?
What do you mean Abstraction in java?
Is null a value?
Is linkedlist thread safe in java?
What package is math in java?
What is purpose of keyword void?
What is the difference between heap and stack memory?
What is this keyword in java?
Can we make main() thread as daemon?
What is autoboxing and unboxing?
How do you override a private method in java?
What is number data type in java?