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?

Answers were Sorted based on User's Feedback



where final and static variable stored?..

Answer / sadikhasan palsaniya

Code of method and constructor or static and final field of
the class are store in "Method Area" which is non heap Memory.

Is This Answer Correct ?    19 Yes 5 No

where final and static variable stored?..

Answer / pradeep reddy

Final and staic variable is stored in Method area which even stores the class structure like method,constructor and static fields.Method area is a non heap memory.

Is This Answer Correct ?    8 Yes 4 No

where final and static variable stored?..

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

More Core Java Interview Questions

what is the use of reference variable

6 Answers  


Where are the local variables stored?

0 Answers  


what is platform independence in java?

5 Answers   CSC, HSBC,


"we cannot create an object of interface but we can create a variable of it".diacuss the statement with the help of an example.

2 Answers  


Difference between nested and inner classes ?

0 Answers  


What are the pillars of java?

0 Answers  


What is JVM and is it platform independent?

0 Answers  


What does replaceall do in java?

0 Answers  


What is the difference in between cpp and java? Can u explain in detail?

0 Answers  


What is the main use of generics in java?

0 Answers  


Why is string class considered immutable?

0 Answers  


How can we make a class virtual?

0 Answers   Fidelity,


Categories