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 / garima

for abstract class in java can not be directly instantiated
with new operator Because abstract class is not fully
defined.ie,it's meaningless to implement incomplete class
and Since "classname var =new classname();" is responsible
for allocating the memory ,hence there will be no memory or
object will be instantiated for abstract class.
But we can make reference to abstract class.
example Box b1;

Is This Answer Correct ?    16 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is linkedlist in java?

999


What do you mean by ordered and sorted in collections in java?

990


Explain the selection sort algorithm and state its time complexity?

1013


What does indexof mean?

1017


take an array with -ve and +ve value both.find out the nearest value of 0(zero).if two values are same like(-2 and +2)then extract +2 is nearest of 0(zero).

1977


When do I need to use reflection feature in java?

1076


What is a class component?

1168


Give few examples of final classes defined in Java API?

1191


How does arraylist size increase in java?

1108


How to make object serializable in java?

974


Is null function in java?

1034


How we can make copy of a java object?

1097


What is charat ()?

931


Does google use java?

948


Why can't we use static class instead of singleton?

936