Is it compulsory to have atleast one abstract method in
abstract class?
Answer Posted / chandrasekhar.k
No,It is not mandatory, but sub class of abstract class
should be override by any one of the method from abstract
class .
Ex:i) javax.servlet.http.HttpServlet
ii) org.apache.struts.actions.DispatchAction, etc.,
| Is This Answer Correct ? | 8 Yes | 4 No |
Post New Answer View All Answers
What are the differences between forwarding () method and sendredirect() methods?
Explain the hierarchy of java exception classes?
What is the static keyword?
Can we use different return types for methods when overridden?
What does I ++ mean?
Explain the difference between throw and throws in java?
Difference between start() and run() method of thread class?
What is a default constructor and also define copy contrucyor?
What are the 4 versions of java?
What is the properties class?
What are the types of casting?
How do you escape json?
What is the difference between @before and @beforeclass annotation?
Is this valid in java ? Can we instantiate interface in java?
What all access modifiers are allowed for top class ?