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

What is import java util arraylist?

1181


Which collection is best for sorting in java?

1126


Which class represents the socket that both the client and server use to communicate with each other?

1042


What is primitive data type in java?

980


EDS (Electronic Data Systems India Pvt Ltd) at Chennai on 16-12-2006.

9210


What is api in java?

980


What is charat java?

961


Is arraylist dynamic in java?

990


Why scanner is used in java?

1073


What is codebase?

1004


How to retrieve data from database in java using arraylist?

1054


What is difference between final and finally in java?

1083


What is the difference between pass by reference and pass by pointer?

1105


What is boolean false?

984


Can we declare the static variables and methods in an abstract class?

990