Memory scope for static methods in java

I studied that static data members of a class get memory when the class is loaded in the class information area (CIA) of the class scope, but I couldn't find out what the memory area is for the static methods. is this the scope of a method in a class? but your answer is old also says that static variables also get memory on the heap, but I read it in full proof that memory is CIA allocated and it says that all methods (static and instance) get memory on the heap, but the instance member function gets memory in the method scope of the class area.so according to you, what are the other memory areas for (method scope, stack, CIA, etc.)?

+3
java static static-methods


source to share


No one has answered this question yet

See similar questions:

97
Where are static methods and static variables stored in Java?

or similar:

6170
Is Java "pass-by-reference" or "pass-by-value"?
3799
How do I read / convert an InputStream to a string in Java?
3324
How to generate random integers in a specific range in Java?
3044
Making a memory leak with Java
1731
Are static class variables possible in Python?
1638
Difference between static class and singleton pattern?
1636
Java inner class and static nested class
1616
Static methods in Python?
836
Java: when to use static methods
455
Why doesn't Java allow static methods to be overridden?



All Articles
Loading...
X
Show
Funny
Dev
Pics