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
How many types of classes are there in java?
What is the benefit of inner classes in java?
How do you know if a value is nan?
What is xslt in java?
How to call one constructor from the other constructor ?
What are java packages? What is the significance of packages?
What is the null?
What is the right data type to represent a price in java?
what is the difference between thread and runnable types? : Java thread
What is complexity and its types?
How do you use nextline in java?
When a lot of changes are required in data, which one should be a preference to be used? String or stringbuffer?
What is a vararg?
What will happen if a thrown exception is not handled?
What is getkey () in java?