Can i have abstract class with no abstract methods?

Answer Posted / saubhik

Yes, we can do it undoubtedly, in that case we restrict it
to make an object of it. Example.- HttpServlet

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is oops in java?

789


What is jpa specification?

761


What is java volatile?

757


Is a string literal?

762


How can a gui component handle its own events in java programming?

781


What is the use of object and class classes?

817


What languages are pass by reference?

803


What does @param args mean in java?

836


Why singleton is not thread safe?

808


Can a class have an interface?

768


Give any two differences between C++ and java.

849


What is a class instance variable?

870


How do you find the absolute value?

823


How do you differentiate abstract class from interface?

756


Describe 2 different ways to concatenate two strings.

941