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


Please Help Members By Posting Answers For Below Questions

What is a website container?

705


List some features of the abstract class.

810


What is constant in programming?

777


Explain OOPs concept.

860


Explain the difference between intermediate and terminal operations in java8?

819


Name few java.lang classes introduced with java 8 ?

772


What is an immutable object?

803


Why is multiple inheritance not supported in java?

796


What is class forname?

750


Is a boolean 1 bit?

849


What do you understand by final value?

814


What about interrupt() method of thread class ?

858


What are data types in oop?

807


Explain the difference between jdk, jre, and jvm?

824


What are the 6 boolean operators?

794