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
What is integers and example?
Does substring start with 0?
Can we modify the throws clause of the superclass method while overriding it in the subclass?
What are the topics in advance java?
Explain the differences between static and dynamic variables?
Explain inheritance in java?
Explain exception chaining in java?
What is the difference between jfc & wfc?
What are the different types of constructor?
Why singleton class is used in java?
How do you stop a thread in java?
How many unicode characters are there?
Explain the JDB in depth & command line.
5 Coding best practices you learned in java?
What is the difference between multiple processes and multiple threads?