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

where final and static variable stored?

Answer Posted / srinivaskumar

static and local variable are stored in stack memory,
in case of final variable it is dependent, if final variable is instance it stored in heap, if static it is stored in stack.....

Is This Answer Correct ?    3 Yes 15 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What restrictions are placed on method overloading?

1178


What's the base class in java from which all classes are derived?

1266


What is the difference between static and non-static variables in java programming?

976


Why java does not support pointers?

1040


What is the difference between iterator and enumeration ?

1005


What one should take care of, while serializing the object?

903


What are advantages and disadvantages of OOPs?

1140


What is the difference between superclass and subclass?

1174


Why stringbuffer is faster than string?

1040


Why is an interface be able to extend more than one interface but a class can’t extend more than one class?

1169


Is java free for businesses?

1070


What are the differences between getting and load method?

1191


What does += mean in java?

1084


What is the size of an array?

1036


What is treeset in java collection?

968