What are the advantages of inheritance?
Answer Posted / parul.kataria007@gmail.com
by inheritance,we can create a link b/w the inherited class....
such that if we inherit class B from an existing class A and C from B,then we can use A and C together by inheritance... ennie
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is interface in oop?
What is abstraction with example?
Can private class be inherited?
Can main method override?
Why interface is used?
What are properties in oop?
What are the benefits of oop?
What is oops?what is its use in software engineering?
What are the 3 principles of oop?
What is the advantage of oop over procedural language?
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(); }
Can we create object of abstract class?
What is the main feature of oop?
What is polymorphism and example?
What is abstraction in oop with example?