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
What is a lock or purpose of locks in java?
How does the garbage collector works in java?
What is compareto?
What is lexicographically smallest string?
Does java isempty check for null?
What is the difference between static method and instance method in Java?
What is the use of jtable?
Explain about interthread communication and how it takes place in java?
Explain about arraylist?
What is a blocking method in Java?
Does the order of public and static declaration matter in main method?
What is the access scope of a protected method?
Can we instantiate interface in java?
What is difference between throw and throws ?
How would you dynamically allocate memory to an array?