Memory area for Static methods in java

时间:2015-07-31 19:44:51

标签: java static static-methods

I had studied that the static data members of class are getting memory at class loading time in the class information area (CIA) of class area,but i couldn't find out which memory area is for static methods . is it the method area in the class area ? but your answerold oneis also saying that static variables also get memory in heap but i had read it in complete refrence that the memory is alloted in CIA and it is saying that all the methods(static and instance)get memory in heap,but instance member function get memory in method area of class area.so according to you for what the the other memory areas(method area,stack,CIA,etc) are for?

0 个答案:

没有答案