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
Explain methods specific to list interface?
What’s meant by anonymous class?
How do you replace a string in java?
What are some characteristics of interference class?
Is java platform independent?
How to implement an arraylist in java?
What is the difference between == and === javascript?
How can we make sure main() is the last thread to finish in java program?
What class allows you to read objects directly from a stream in java programming?
Can java program run without jre?
Why do we need autoboxing in java?
Which of the classes will have more memory allocated?
When parseint method can be used?
Explain notifyall() method of object class ?
Are global variables initialized to zero?