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
Why parameters should be passed by reference?
Is it possible to override the main method?
What are the rules for naming an array?
Can constructor be inherited?
What is an example of procedure?
why we use merge option in hybernate pls give a ex snippet
What is null data type?
How are the elements of a gridbaglayout organized?
Is simpledateformat safe to use in the multithreaded program?
Can vector have duplicates in java?
How many types of memory areas are allocated by JVM in java?
Explain the use of sublass in a java program?
What is double data type?
Explain the protected field modifier?
Why does abstract class have constructor?