When and where the methods of class are loaded in jvm.
If I have a class
Test with method doStuff().
1) doStuff() is instance method.
If I make 1000 objects of this class then it will load and store this method for every objects?
2) doStuff() is class method.
If I make 1000 objects of this class then it will load and store this method only once?
3) to reduce memory usage, Is it good to make method static?