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 / mandeswara rao

yes, we can.To prevent a class from directly creating
objects, better declare them as abstract classes.
Eg: HttpServlet

Is This Answer Correct ?    37 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is an array length?

866


Can a abstract class be declared final?

952


Difference between process and thread?

994


When is finally block not called?

1026


Explain the differences between abstraction and encapsulation?

1007


What is gc()?

988


Why wait(),notify(),notifyAll() methods defined in Object class althought we are using in only threads.

2774


What is consumer interface?

956


How do you write a scanner class in java?

964


Can two objects have same hashcode?

953


What is balanced tree in java?

917


Is a case study a method or methodology?

854


What is scope & storage allocation of global and extern variables? Explain with an example

999


Is there any tag in htm to upload and download files?

1004


What is proper subset?

927