There can be a abstract class without abstract methods, but
what is the need to declare a class abstract if it doesn't
contain abstract methods?

Answer Posted / keerthi

It is used prevent creating object of abstract class.

Is This Answer Correct ?    2 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a website container?

703


What is use of super keyword in java?

823


What is a char in java?

761


What is the use of static class?

801


What is the java reflection api? Why it’s so important to have?

766


is it possible to instantiate the math class?

741


Can arraylist contain null values?

765


How many digits can a float hold?

770


Why stringbuffer is faster than string?

806


Which is better singleton or static class?

713


What is passing parameters in java?

751


What is the different types of functions?

796


Why we used break and continue statement in java?

820


Is stringwriter thread safe?

748


what methods would you overwrite in java.lang.object class?

777