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 are the properties of thread?
What is the difference between replace and replace all?
What is a layout manager and what are different types of layout managers available in java awt?
Can inner class final?
What are streams in java 8?
Suppose if we have variable ' I ' in run method, if I can create one or more thread each thread will occupy a separate copy or same variable will be shared?
What are the wrapped, classes?
What’s the difference between applets and standalone program?
What does string [] args mean?
Why do we use return statement?
Difference between comparator and comparable in java?
What is static method with example?
What is hashtable and explain features of hashtable?
why are wait(), notify() and notifyall() methods defined in the object class? : Java thread
What type of value does sizeof return?