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

List out benefits of object oriented programming language?

842


hr interview how many minutes asking question

2002


What is scope & storage allocation of static, local and register variables? Explain with an example.

977


What should I import for arraylist in java?

996


What do you mean by thread safe?

940


Can we write a class without main method in java?

915


What is meant by string is immutable?

1025


What is join () in java?

934


What is struts in java?

1006


What is "this" keyword in java? Explain

1064


What is arrays fill in java?

965


What differences exist between iterator and listiterator?

1009


What is a boolean expression in java?

988


How do you write a scanner class in java?

972


What is anagram of a string?

908