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

State the difference between creating string as new () and literal.

1021


When arithmeticexception is thrown?

967


What is the disadvantage of synchronization?

969


What does substring mean?

927


What are daemon Threads in java?

1130


What do you mean by multithreaded program?

963


Is java a pure object oriented language?

914


What is the relationship between class and object?

987


What is the nested interface?

1042


Why put method is idempotent?

840


why using interface interface ?

1973


Explain about interthread communication and how it takes place in java?

966


What is abstract class constructor called?

956


what happens when a thread cannot acquire a lock on an object? : Java thread

1014


Explain about map interface in java?

946