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 the main function in java?
What is stack class in java?
Can two objects have same hashcode?
What is variable argument in java?
How use .contains in java?
what is abstract class in Java?
java program with complete 4 oops concepts implemented example
How does system arraycopy work in java?
Can we overload final method in java?
Can you sort a string in java?
What is meant by string is immutable?
Define reflection.
What is meant by main method?
What is return keyword in java?
What is the difference between an inner class and a sub-class?