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 do you understand by final value?
Can we use catch statement for checked exceptions when there is no chance of raising exception in our code?
What are assembly attributes?
Why does java have two ways to create child threads?
What is the difference between replace and replace all?
How many ways can an argument be passed to a subroutine and explain them?
What is meant by null and void?
What is the best way to findout the time/memory consuming process?
How is Object Oriented Programming different from Procedure Oriented Programming?
What is unmodifiable collection in java?
What about member inner classes?
What is your platform’s default character encoding?
When a byte datatype is used?
Does list maintain insertion order java?
Can we have multiple catch block for a try block?