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 are 2 (shorthand) boolean operators supported by javascript

569


When do we use JSON.stringify()?

638


How to detect browser name using JavaScript?

603


What is the use of blur function in JavaScript?

609


How many types of javascript are there?

554






How can we establish connection with java and sql server?

1676


How do you target a specific frame from a hyperlink in javascript?

561


How to write html code dynamically using JavaScript?

628


What is client side in javascript?

521


What is a hash javascript?

610


What is arguments object in JavaScript?

631


How to read elements of an array in JavaScript?

601


What is the concept of “functions as objects” and how does this affect variable scope?

567


What does three dots mean in texting?

579


What is purpose of onerror event handler in javascript?

557