Is java is a fully object object oriented language?
Answer Posted / nibedit
Well we cannot say java is a fully oop language becoz'
1.java uses premitive data type like int,float etc though
it has Wrapper classes for these data types.
2.it dose not support operator overloading except for "+"
to some extent(for concatanation).
3.it dose not support inheritance fully..that is it
dose not support multiple inheritance.
Also it wrong to say that we can achieve that by
interfaces. becoz' interfaces are not made for
inheritance. they are made for polymorphism.The very
defination of inheritance says that it is use for code
reusability.but interface dose not have any body with code.
we can use them as we like by giving our own implementation.
this is nothing but polymorphism concept.
so java is not fully oopl rather we can say that it is a
object based prog. language.
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
How do you calculate square roots?
Explain about interrupt() method of thread class ?
What is difference between arraylist and list in java?
Is 0 an irrational number?
What does int argc char * argv [] mean?
Which methods are used during serialization and deserialization process?
What is continuity of a function?
What is use of inner class in java?
What is float in java?
Is null a value?
What is the purpose of abstract class?
How many inner classes can a class have?
What is sorting in java?
Why call by value prevents parameter value change?
Why does java not allow multiple public classes in a java file ?