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 does class forname work in java?
What is deserialization?
How to overcome the exception object reference not set to an instance of object?
What is numeric function?
How can we achieve thread safety in java?
What is the synonym of string?
what is instanceof operator used in java?
Write a program in java to calculate the difference between the sum of the odd level and even level nodes of a binary tree.
Is null a string or object in java?
Which is the class in java?
How do you override a method?
Can we have two main methods in a java class?
Does java set allow duplicates?
Explain the init method?
How variables are stored in memory?