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

When is an object in the mean to garbage collection?

3 Answers  


Is an integer an object?

0 Answers  


JVM is platform independent or depeneded?

7 Answers  


How does map works in java?

0 Answers  


How large is a boolean?

0 Answers  


class A{ m2(){ } } class B extends A{ m2(){ } } class c extends B{ m2(){ } } class my_class extends c{ m2(){ } pulic static void main(){ ...My_class a = new my_class(); super.super.super.m2(); is this is leagal if not find what is the legal procedure in order to call A's version of m2(); }

8 Answers   Logica CMG,


How do you change an int to a string?

0 Answers  


What are inbuilt functions?

0 Answers  


why we need this (1.object,2.class,3.data hiding,4.encapsulation,5.abstraction,6. polymorphism,7.inheritance)

2 Answers  


Is there any way to skip finally block of exception even if some exception occurs in the exception block?

0 Answers  


What are nested classes in java?

0 Answers  


Is int a class in java?

0 Answers  


Categories