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

When is finally block not called?

1026


Explain the pointers in Java?

1004


Should a main method be compulsorily declared in all java classes?

1007


What is java util?

977


What is final access modifier in java?

1080


Is ++ operator thread-safe in java?

1119


Is it possible to write a regular expression to check if string is a number?

980


What is high level language in computer?

979


Why is stringbuffer called mutable?

942


What are variable arguments or varargs?

963


Can you explain inner class.

1026


What is ‘is-a ‘ relationship in java?

979


Is empty set an element of empty set?

1036


What are the different ways of creating thread?

965


Can you call a method in a method?

1022