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 memory leak and how does java handle it?

513


What is ellipsis in java?

568


What is identifier give example?

545


Can we use string in the switch case?

567


Differences between C and Java?

606






Is string an object?

638


Discuss about garbage collector in Java.

634


Is there any sort function in java?

569


Is java se open source?

558


What is string substring?

554


what is the messsage u r going to get from an objectoriented programing?

1600


Why is string buffer better than string ?

586


how do I create a runnable with inheritance? : Java thread

501


What is the technique adopted to create an immutable class?

514


What are different types of classloaders?

578