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...

why abstract class does not have object creation

Answer Posted / sushila sonare

if we create an object for abstract class, so through object
reference we can use all method. But in abstract class some
method is abstract, i.e. they don't have body of the method.
At the time of method calling we are getting error. Compiler
don't know what to do. To avoiding this problem its
restricted to create an object

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we have any code between try and finally blocks?

1012


How strings are created in java?

1032


What are the basics of core java?

1009


What are the four pillars of java?

1207


What are different exception types exceptions available in java ?

1000


Is there any way to skip finally block of exception even if some exception occurs in the exception block?

1065


What are heterogeneous objects?

1034


What is an interface in java? Explain

1174


What is the difference between overriding and overloading in OOPS.

1151


Is class is a data type?

1072


What are streams in java 8?

996


What is the difference between the file and randomaccessfile classes?

1089


Explain about version control?

1031


Can private class be extended java?

1015


What is the difference between arraylist and hashset in java?

1130