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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does the term sticky session mean in a web-farm scenario?

473


What is output of undefined * 2 in javascript?

474


What is the difference between undeclared & undefined?

515


Name some of the Javascript frameworks?

556


If we want to return the character from a specific index which method is used?

631






What is dataview in javascript?

469


What are math constants and functions using javascript?

488


What is ‘this’ keyword in JavaScript?

537


Is JavaScript case sensitive? Give an example?

563


why we calld java object orinted programming language??

1531


What is enum with example?

454


Give an example of closure?

530


Is function a data type in javascript?

474


What is difference between module.exports and export?

448


Please write the Code of simple javascript calculator withot eval() function

1492