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...

Can i have abstract class with no abstract methods?

Answer Posted / manish kushwaha

HI All,

In Java there is very lovely concept related to Abstract
Class, keep this concept always in your mind i.e.
1) A class can be abstract "without any abstract method".
2) But if a single method is abstract you need to declare
your class as abstract this is mandatory but if class is
abstract then its not mandatory to have abstract methods
as mentioned above.

Is This Answer Correct ?    6 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can a class extends itself in java?

1019


What is difference between next () and nextline () in java?

984


What is function overriding and overloading in java?

1110


Does java initialize arrays to zero?

1030


How big is a 32 bit integer?

1040


What is illegal identifier in java?

1011


how are methods defined?

1048


What is the main advantage of passing argument by reference?

971


What do you understand by the term singleton?

993


What is size of int in java?

1058


Why do we declare a class static?

1146


What is the reason behind using constructors and destructors?

1055


What are the escape sequences in java?

1021


What is boolean in java?

966


What is meant by binding in rmi?

1003