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

Is null a string?

548


Explain about instanceof operator in java?

605


Is it necessary that each try block must be followed by a catch block?

553


How to call one constructor from the other constructor ?

599


Which collection is best for sorting in java?

689






How big is a pointer?

546


Is null a string in java?

552


Give a practical example of singleton class usage?

589


What is a “stateless” protocol ?

551


What do you mean by pointer value and address?

575


Why we used break and continue statement in java?

556


What is the base class of all exception classes in java?

566


Explain the difference between private, public, package and protected in java?

593


What is the range of the short type?

578


What does null mean in java?

624