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
Can you give few examples of final classes defined in java api?
What is the default size of load factor in hashing based collection?
What are thread safe functions?
What is dot operator?
What is static in java?
How strings are created in java?
Explain the difference between serializable and externalizable in java?
What is difference between word and integer?
What is the argument in java?
What is abstraction in java?
What is pass by value?
What is a blocking method in Java?
How do you create a bulleted list?
What is a war file?
What does flag mean in java?