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 the static methods will live ,on stack ? can you
explain brefly

Answer Posted / suman rani

As you know static variable directly belongs to the class, so it is be stored in heap area where all the byte code of class are stored.That area is also called permanent code segment area.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is java used for on a computer?

1035


Mention some interfaces implemented by linked list in java.

1078


Can you have two constructors in java?

1047


Is integer passed by reference in java?

1064


Is static variable stored in heap?

1050


Is math class static in java?

1155


How to retrieve data from database in java using arraylist?

1103


String and stringbuffer both represent string objects. Can we compare string and stringbuffer in java?

1027


take an array with -ve and +ve value both.find out the nearest value of 0(zero).if two values are same like(-2 and +2)then extract +2 is nearest of 0(zero).

2040


In how many ways we can create threads in java?

1272


Explain the difference between abstract classes and interfaces in java?

1261


how to create multithreaded program? Explain different ways of using thread? : Java thread

1052


Explain the difference between runnable and callable interface in java?

1096


Can we use switch statement with strings?

1089


Explain the significance of class loaders in bootstrap?

1012