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 are different types of states exist for a thread?
What is an arraylist in java?
How can you avoid serialization in child class if the base class is implementing the serializable interface?
What are the high-level thread states in java programming?
What is an 8 bit word?
What is a loop java?
What is string subsequence method?
What is a key in java?
Why do we need strings in java?
1.IN CASE OF DYNAMIC METHOD DISPATCH WHY WE USE REFERENCE VARIABLE,WE CAN USE THE DIFFERENT DEFINED OBJECT DIRECTLY TO ACCESS THE DATA MEMBER AND MEMBER FUNCTION OF THAT RESPECTIVE CLASS?WHAT IS THE MAIN FUNCTION OF "REFERENCE VARIABLE" HERE?
How can a gui component handle its own events?
What are the 5 types of research methods?
Where can i get Latest SUN Certification Dumps and what are the Sun Certification Codes that are available, Im new to JAVA, so please gimme info as i need to write J2EE - Core Java Certification
What do you mean by pointer value and address?
Can we write any code after throw statement?