Can any one tell me how Java is purely an Oops language

Answers were Sorted based on User's Feedback



Can any one tell me how Java is purely an Oops language..

Answer / ranganathkini

I VERY STRONGLY DISAGREE WITH THE PREVIOUS ANSWER!

JAVA IS NOT A PURE OOPS LANGUAGE!

Just taking the previous answer's context that every thing
in Java is an object itself is wrong. Java makes strong
distinction between primitive data types and reference
types. Hence the primitive data types are not treated as
objects.

Java provides wrapper classes that can be used to "box"
primitive data types and use them as objects.

Hence this defeats one of the main point of OOPS languages
that everything u use must be an object.

PLEASE PRACTICE CAUTION WHEN U POST ANSWERS!

Is This Answer Correct ?    3 Yes 1 No

Can any one tell me how Java is purely an Oops language..

Answer / nils

java is pure oops language means every thing it represent
that is in the form of classes and objects.
even data types in the java are the object of
class "class" for more details refer suns java api
documentation in java.lang.class.

Is This Answer Correct ?    2 Yes 1 No

Can any one tell me how Java is purely an Oops language..

Answer / sowmiya

java is purely a oops language...
because t supports all basic concepts f oops lik
1.inheritance
2.polymorphism
3.classes
3.objects
4.message binding
etc..

Is This Answer Correct ?    3 Yes 2 No

Post New Answer

More JavaScript Interview Questions

What is the role of javascript in a web page?

0 Answers  


When would you use var in your declaration and when you wouldn’t?

0 Answers  


Why do we need hoisting in javascript?

0 Answers  


What is eval() in javascript?

0 Answers  


What are the methods involved in javascript?

0 Answers  






Why do we need npm?

0 Answers  


How to define a named function in JavScript?

0 Answers  


What can I build with javascript?

0 Answers  


I am working on project in asp.net in which i have opned doc file on client side.plz send me coding on markpatentoffice@yahoo.com.

0 Answers   IBM,


What does question mark mean in react?

0 Answers  


What is array explain it?

0 Answers  


Do unused imports affect performance javascript?

0 Answers  


Categories