Can any one tell me how Java is purely an Oops language
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / nils
java is pure oops language means every thing it represent
that is in the form of classes and objects.
even data types in the java are the object of
class "class" for more details refer suns java api
documentation in java.lang.class.
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / sowmiya
java is purely a oops language...
because t supports all basic concepts f oops lik
1.inheritance
2.polymorphism
3.classes
3.objects
4.message binding
etc..
| Is This Answer Correct ? | 3 Yes | 2 No |
How you will add function as a property in a javascript object? Give an example.
What is webassembly good for?
What is undefined value means in javascript?
Write a main method that prompts the user to enter the starting population, birth and death rates, and the number of years. The input birth and death rates cannot be negative, the starting population cannot be less than 2, and the number of years greater than 0. If the user enters an invalid value, this program will prompt user to re-enter the value until a valid value has been read. When all input values are valid, call on the methods above to compute estimated population and print result.
Can you assign an anonymous function to a variable?
How would you compare two objects in JavaScript?
What are the advantages of using JavaScript?
How can an HTMLCollection be traversed?
How to validate a form in javascript?
How can you get the reference of a caller function inside a function?
What is meant by object oriented programming?
Is there any ide for javascript?