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 are the three types of design patterns?

968


Why do we need hashset in java?

1054


What is difference between string and stringbuffer?

1113


Which command from the jdk compiles a java program?

1002


Does java set allow duplicates?

1091


Does google use java?

977


How does split work in java?

1058


Can an interface have a constructor?

978


Why can't we override private static methods?

978


What is array sorting in java?

1067


How would you use Bubble Sort to sort the number of elements?

1009


what is inner class in java?

1140


What is update method called?

1167


How would you format a date in java? I.e. In the ddmmyyy format?

1381


Can we sort a map in java?

1052