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

Is hashmap thread safe?

997


Why stringbuilder is not thread safe?

1037


What is thread pool in java with example?

1008


What is string array?

1071


Can we have static methods in an interface?

1058


What is the use of string and stringbuffer?

987


What is mutable object and immutable object?

1132


What does file separator do in java?

1020


What is anagram word?

997


What is prefix of a string?

1041


What is the r character?

1020


What is the purpose of the enableevents() method in java programming?

1187


Write a program to solve producer consumer problem in java?

1018


What does flag mean in java?

1025


Do extraneous variables affect validity?

918