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 / darkeye

I certainly agree with Manish Kushwaha You can have abstract class without any abstract method but if you have a single abstract method you are suppose to make that class abstract
This is what Sun says :
" An abstract class is a class that is declared abstract—it may or may not include abstract methods" (http://java.sun.com/docs/books/tutorial/java/IandI/abstract.html)

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is volatile data type?

1068


What package is math in java?

1053


What is constructor in java ?

1258


Does java list allow null?

1040


What does singleton mean in java?

1058


How many bits is a string in java?

1076


Is empty set an element of empty set?

1169


What is public static void main?

1147


What do you mean by order of precedence and associativity?

996


Is string a class in java?

1034


What is the difference between logical data independence and physical data independence?

1088


Explain about join() method?

1027


Can you declare an interface method static?

1105


What is the difference between integer parseint and integer valueof?

1048


How do you use compareto?

988