can anybody explain memory allocation for static contents?
for example i hav 5 classes and i hav static variable and static methods in all classes..
so memory to those all static wiil be stored at same location and only once..all objects use that memory
My satement is crrect or not??
I'm not sure what you're looking for. It will be stored in whatever memory location is available. Just like any variable, you can't predict the specific address of the memory block it will be stored in. The location isn't relative to anything else in your code.
Really, once that class is a part of your program, any memory it allocates is just overhead. It's nothing you need to manage.
subject: can anybody explain memory allocation for static contents?