Java does not support multiple inheritance.
how interface helps in the same?
Answer Posted / narmada nelluri
Java does not suuport multiple inheritence through classes
we can acheive the same with interfaces that means a class
can implement more than one interface at a time.
| Is This Answer Correct ? | 31 Yes | 2 No |
Post New Answer View All Answers
How many static init can you have?
Is java based on c?
How do you add an element to a set in java?
How to make a write-only class in java?
What are the legal operands of the instanceof operator?
What does java se mean?
What is the difference between a switch statement and an if statement?
How do I remove a character from a string in java?
What is the implementation of destroy method in java. Is it native or java code?
Can a main method be overloaded?
What is void keyword?
What is constructor and virtual function? Can we call a virtual function in a constructor?
What are the advantages of java?
What is an error in java?
What do you meant by active and passive objects?