Is java pure object oriented or not? if yes, give the valid
reason.
Answer Posted / raamnaresh reddy.r
No,
Reason 1:- All predefined types are not Objects.
Example:- int a=10;
Reason 2:- All operations performed on objects are not
only through methods exposed at the objects but also we can
perform directly ., for example ., we can replace String
concatenate method concat() by '+'.,
Example:- String a="JAVA"+"notfullyOOL";
Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
What are the main differences between notify and notifyAll in Java?
How to convert string to char and vice versa?
Explain the init method?
What are nested classes in java?
List two java ide’s?
Define packages in java?
How many ways can an argument be passed to a subroutine and explain them?
How does enum work in java?
What is the common usage of serialization? What exceptions occur during serialization?
Why does it take so much time to access an applet having swing components the first time?
How will you call an Applet using Java Script Function?
Explain which of the following methods releases the lock when yield(), join(),sleep(),wait(),notify(), notifyall() methods are executed?
Does treeset use compareto?
Variable of the boolean type is automatically initialized as?
What is the mapping mechanism used by java to identify IDL language?