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 generics in java interview questions?
How can I debug the Java security exceptions and AccessControlExceptions?
Can we increase size of array?
What is meant by method?
What is the preferred size of a component in java programming?
What is meant by null and void?
Is arraylist a class in java?
What language is java written?
What is complexity in java?
What is a percentage sign called?
What are the major drawbacks of external iteration?
Can a abstract class be declared final?
Explain the importance of import keyword in java?
Is passing by reference faster?
Does constructor be static?