I'm confused about this part in java -
During java classloader system loads the class file it allocates memory for different variables and methods present in the class file - like for new object memory gets allocated during runtime . But in case of static variables and methods in the class how and when memory gets allocated ? - Please help.