Is it compulsory to have atleast one abstract method in
abstract class?
Answer Posted / jag
no we can have all concrete methods in abstract class
example:
all the methods in javax.servlet.HttpServlet class are
concrete but it is abstract class
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
How can we create objects if we make the constructor private ?
Should a main method be compulsorily declared in all java classes?
What is a flag value?
Can a class be defined inside an interface?
What is the purpose of assert keyword used in jdk1.4.x?
what is function overloading in java?
What is the largest long allowed by java?
What is the use of set in java?
What is the need of transient variables in Java ?
How many inner classes can a class have?
Is vector synchronized in java?
How many types of interfaces are there?
What is the most important feature of java? What is an interface?
Can string be considered as a keyword?
What happens when a thread cannot acquire a lock on an object in java programming?