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 boolean example?

970


What is the synonym of procedure?

1122


How variables are stored in memory?

1000


What methods are used in Servlet?Applet communication?

2246


What is the difference between the reader/writer class hierarchy and the inputstream/outputstream class hierarchy in java programming?

1122


Can we create more than one object singleton class?

1038


Can a class have an interface?

989


What is math in java?

1058


What is autoboxing and unboxing?

1005


Can you have two constructors in java?

986


Why is a singleton bad?

954


What do you mean by of string::valueof expression in java 8?

968


What is Hierarchy of exception?

1090


Why 1 is not a prime number?

1024


What is a dynamic array in java?

1178