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

Can we have static methods in an interface?

798


What is the basic of java?

788


What is bytecode in java ?

854


What are the advantages of exception handling in java?

835


How we can generate random numbers in java?

881


What is style and indentation?

773


What are the common uses of "this" keyword in java ?

790


How to split a string in java?

883


Explain the available thread states in a high-level?

731


What's the base class of all exception classes?

795


How can we avoid including a header more than once?

801


Does collectionutils isempty check for null?

1123


Does java have extension methods?

726


what is a working thread? : Java thread

808


What is the use of keywords in java?

769