why java does not support multiple inheritance
Answer Posted / mustakim
because it genereate diamond problem. e.g. Class A has
Show()Method and Class B,C extends in A class so show() will
come in B,C class.now Class D extends C class and access
show() method then it will generate Error such as multiple
Defination.
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is the difference between double and float variables in java?
What is the difference between path and classpath variables?
What is a java predicate?
Which arithmetic operations can result in the throwing of an arithmeticexception?
What is character in data type?
Explain java coding standards for classes or java coding conventions for classes?
What are the types of relation?
What is a text string?
What does it mean that a class or member is final?
Can java inner class be static?
What are the restrictions that are applied to the java static methods?
List some oops concepts in java?
Can we sort array in java?
what is heap memory?
What is the difference between a method and a function in alice?