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 java and their uses?

790


What are the advantages of autoboxing?

776


What is the reason behind using constructors and destructors?

816


What is a text string?

879


what is difference betweem home interface and remote interface?

2363


Can vector have duplicates in java?

732


How do you sort in java?

806


List any five features of java?

810


Can we serialize arraylist in java?

795


What is the flag in java?

810


What is the difference between call by reference and call by pointer?

747


What are decalarations?

870


How many ways can an argument be passed to a subroutine and explain them?

809


What’s the difference between constructors and other methods?

777


List out benefits of object oriented programming language?

688