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 break a loop?
How to obtain a performance profile of java program
What is the common usage of serialization?
How to stop a thread in java? Explain about sleep () method in a thread?
What about main thread in java?
What is method overloading in JAVA? Why is it not present in C ?
What is the difference between array and array list in java?
Can we call the constructor of a class more than once for an object?
Can we have multiple catch block for a try block?
Is namespace same as package in java?
write a program that list all permutations of ABCDEF in which A appears before B?
Can we have any code between try and finally blocks?
What is the major advantage of external iteration over internal iteration?
Explain the importance of import keyword in java?
extending thread class or implementing runnable interface. Which is better? : Java thread