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
What are 2 (shorthand) boolean operators supported by javascript
When do we use JSON.stringify()?
How to detect browser name using JavaScript?
What is the use of blur function in JavaScript?
How many types of javascript are there?
How can we establish connection with java and sql server?
How do you target a specific frame from a hyperlink in javascript?
How to write html code dynamically using JavaScript?
What is client side in javascript?
What is a hash javascript?
What is arguments object in JavaScript?
How to read elements of an array in JavaScript?
What is the concept of “functions as objects” and how does this affect variable scope?
What does three dots mean in texting?
What is purpose of onerror event handler in javascript?