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

is memory to the abstract class allocated ..or objects not
instantiated

Answer Posted / amit jayaswal

Actually the fact is this that abstract class is used to achieve polymorphism (abstraction 0-100) & for code sharing among closely related concrete classes, there are no need to create and object of abstract class direct using "new" operator, because there are some abstract method & nothing to be allocated for abstract method they are here only for abstraction and there are some another non abstract method (for code sharing) and attribute inside abstract class and memory will be allocated for those members on the basis of their belonging concrete class. while we invoke constructor of their concrete class then the constructor of abstract class will be invoke implicitly.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a map in java?

984


What is the purpose of the system class in java?

1044


What is the maximum size of array in java?

981


What is integers and example?

985


What is anagram word?

993


How many bytes is 255 characters?

976


What is quick sort in java?

1007


What is super keyword explain with example?

1280


Can we increase size of array?

1023


Can we make a constructor final?

1014


What is the technique adopted to create an immutable class?

1106


Explain about map interface in java?

992


Differentiate between static and non-static methods in java.

1041


Is java a prime method?

981


What are the advantages of encapsulation in java?

1008