Can i have abstract class with no abstract methods?
Answer Posted / mandeswara rao
yes, we can.To prevent a class from directly creating
objects, better declare them as abstract classes.
Eg: HttpServlet
| Is This Answer Correct ? | 37 Yes | 2 No |
Post New Answer View All Answers
What is an array length?
Can a abstract class be declared final?
Difference between process and thread?
When is finally block not called?
Explain the differences between abstraction and encapsulation?
What is gc()?
Why wait(),notify(),notifyAll() methods defined in Object class althought we are using in only threads.
What is consumer interface?
How do you write a scanner class in java?
Can two objects have same hashcode?
What is balanced tree in java?
Is a case study a method or methodology?
What is scope & storage allocation of global and extern variables? Explain with an example
Is there any tag in htm to upload and download files?
What is proper subset?