What is the Advantage of Interface over the Inheritance in
OOPS?
Answer Posted / poorna chandar rao
in inheritence is not support the multiple inhertence but
interface is supported multiple inhertence because imterface
is advatage over the inhertience
| Is This Answer Correct ? | 8 Yes | 10 No |
Post New Answer View All Answers
Can a varargs method be overloaded?
Write a program to sort the number with different sorts in one program ??
What is the difference between abstraction and polymorphism?
Who invented oop?
if i have same function with same number of argument but defined in different files. Now i am adding these two files in a third file and calling this function . which will get called and wht decide the precedence?
Is data hiding and abstraction same?
What is encapsulation process?
What is polymorphism in oop example?
What is the significance of classes in oop?
There are two base class B1,B2 and there is one class D which is derived from both classes, Explain the flow of calling constructors and destructors when an object of derived class is instantiated.
What is overloading in oop?
What is inheritance and how many types of inheritance?
What does and I oop mean?
What is Difference Between Inheritance and creating object and getting data? means Class A extends B{ B.getMethod();} (OR) Class A{ b obj=new B(); obj.getMethod(); }
What is difference between abstraction and encapsulation?