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
Which built-in method adds one or more elements to the end of an array and returns the new length of the array?
What is the difference between client side javascript and server side javascript.
How can an HTMLCollection be traversed?
Why is currying called currying?
What is meaning of === in javascript?
How to convert a string to a number using javascript?
Which built-in method calls a function for each element in the array?
How to load another html page from javascript?
Where javascript variables are stored?
What are the types used in javascript?
How do you change the style/class on any element?
How to add multiple functions in javascript?
Is array an object javascript?
What does _ mean in javascript?
How to make a array as a stack using javascript?