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 an i/o filter in java programming?

599


How a string is stored in memory?

572


What is procedure overloading?

1796


How we can execute any code even before main method?

549


What is the difference between the size and capacity of a vector?

563






Does java support Operator Overloading?

605


What variables are stored in stack?

526


Which is dependent variable?

491


What is an infinite loop?

542


What is the nested interface?

593


What is early binding and late binding in java?

591


What is the purpose of garbage collection in java, and when is it used?

559


What is floor math?

509


What is the role of the java.rmi.naming class?

517


Is there any sort function in java?

571