Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Is it compulsory to have atleast one abstract method in
abstract class?

Answer Posted / saurabh m. chande

It is absolutely not necessary to have at-least 1 method as an abstract method in a class which is defined as an abstract.
But it is equally necessary to declare the class as an abstract class if at-least 1 method within that class is declared as abstract method.
Abstract class contains either the method declaration only or complete method implementation.

Is This Answer Correct ?    8 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why are global variables used?

1012


Where are the card layouts used?

1060


What is a singleton puppy?

979


Name few "optional" classes introduced with java 8 ?

1130


What all methods are used to prevent thread execution ?

1021


What are java threads?

1119


How do you sort data in java?

942


Difference between association, composition and aggregation?

967


take an array with -ve and +ve value both.find out the nearest value of 0(zero).if two values are same like(-2 and +2)then extract +2 is nearest of 0(zero).

1973


Can a main method be overloaded?

1014


Explain why wait(), notify() and notifyall() methods are in object class rather than in the reading class?

967


What do the thread?class methods run() and start() do?

1027


How do you sing an Applet ?

2456


What is a java string?

1070


Why are the methods of the math class static?

1065