Is it compulsory to have atleast one abstract method in
abstract class?
Answer Posted / srinu
No its not compulsory.
first of all Abstract class contain some defined methods or
undined methods or both or only defined methods.Because
Httpservlet contain purely undefined but it declared as a
Abstract class.so finally concluded is its a wrong opinion
for Abstract class contain at least one Abstract methods.
| Is This Answer Correct ? | 4 Yes | 4 No |
Post New Answer View All Answers
What is an object class?
What are measurable parameters?
how to know the total memory occupied by the objects in the ArrayList(Array list may contain duplicate objects)
What is the difference between compare and compareto in java?
What is a null class?
What does n mean?
Why for each loop is used?
Why you should not use singleton?
What is keyword in oop?
What is == mean?
What is boolean logic?
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?
What are the differences between checked exception and unchecked exception?
what do you understand by synchronization? : Java thread
Can a static block throw exception?