why java does not support multiple inheritance
Answer Posted / priyanka
Multiple inheritance means derive class from multiple
classes but java can't extend multiple classes. it can
extend one class but multiple interfaces. so create
multiple interfaces n then implement it.
Java have such fzacility to avoid ambiguty.
Thank u
| Is This Answer Correct ? | 35 Yes | 17 No |
Post New Answer View All Answers
Which eclipse is best for java?
What methodology can be utilized to link to a database?
Name container classes in java programming?
What is unicode with example?
what is the major difference between linkedlist and arraylist in java?
Why does java have two ways to create child threads? Which way is better?
How are destructors defined in java?
What are assembly attributes?
What is the name of the java compiler?
Can a main method be declared final?
Addition to previous section relative word 5th one was Putrid ans: rotten, also there was prob. in 1st section on bucket weight ans:10kg, also there was a prob. on train speed to find bridge length ans:800 mtrs.
Will the compiler creates a default constructor if I have a parameterized constructor in the class?
What is object in java?
What is the difference between serializable and externalizable interface?
Is java a software?