A abstract class extending an abstract class.Super class
has both abstract and non-abstract methods.How can we
implement abstract and non-abstract mehtods? Explain with
snippet

Answer Posted / puneet khanna

If you have 2 abstract classes say Abstract Class A and
Abstract Class b where B extends A;

B may not implement the abstract methods from A but the
class which will inherit B will have to give the
implementation of the abstract methods from class A and B both.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between path and classpath in java?

479


What is a nonetype?

559


What is object english?

577


Can a static method be overridden in java?

554


Difference between final and effectively final ? Why is effectively final even required ?

548






How many static init can you have?

671


What is charat java?

536


How do you sort data in java?

515


What happens when main () method is declared as private?

646


What is the syntax and characteristics of a lambda expression?

550


Discuss about garbage collector in Java.

637


How to sort numbers in java without array?

521


What's the purpose of static methods and static variables?

586


What methodology can be utilized to link to a database?

502


What is the unit of plancks constant?

563