This page contains an archived post to the Design Forum (formerly called the Flexible Java Forum) made prior to February 25, 2002.
If you wish to participate in discussions, please visit the new
Posted by Susilo on September 28, 2001 at 12:00 AM
Hi, I know that static variable have only one copy. Every new object of that class won't have that static variable. Is it the same with static method? Does method also stored in the memory like the variable? I also know that static block are executed only once when the class is loaded, but how about static method?