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


Please Help Members By Posting Answers For Below Questions

What are the main differences between notify and notifyAll in Java?

807


How to convert string to char and vice versa?

702


Explain the init method?

715


What are nested classes in java?

799


List two java ide’s?

797


Define packages in java?

762


How many ways can an argument be passed to a subroutine and explain them?

765


How does enum work in java?

745


What is the common usage of serialization? What exceptions occur during serialization?

794


Why does it take so much time to access an applet having swing components the first time?

1638


How will you call an Applet using Java Script Function?

734


Explain which of the following methods releases the lock when yield(), join(),sleep(),wait(),notify(), notifyall() methods are executed?

828


Does treeset use compareto?

716


Variable of the boolean type is automatically initialized as?

760


What is the mapping mechanism used by java to identify IDL language?

781