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

Write a program in Java to display the IP address of the local and remote machine.

1779


How do I retrieve a cookie with a given name using a regular expression?

498


How to add/remove properties to object dynamically in javascript?

525


What is Javascript namespacing? How and where is it used?

525


Are javascript variables case sensitive?

484






What e means?

507


Is there any ide for javascript?

521


How to get value from radiobuttonlist control?

497


Is javascript enabled on my computer?

455


How much time it will take to learn javascript?

454


Explain what is javascript? List some data types supported by javascript?

465


What does the operator do in javascript?

467


How do I use an external javascript file?

500


Is there an alternative to javascript?

472


What is object in javascript?

586