Class construction vs Class loading

Hi All,I don't understand the difference between loading a class and class construction. please help meThanks
[131 byte] By [Eyal2007a] at [2007-11-27 6:58:46]
# 1
> I don't understand the difference between loading a> class and class construction. please help meWhy do you think they're the same?~
yawmarka at 2007-7-12 18:49:17 > top of Java-index,Java Essentials,New To Java...
# 2

Loading a class is making the VM aware of the definition of the class. Construction is creating a instance of that class.

Foo foo1 = new Foo();

Foo foo2 = new Foo();

The class Foo has been loaded once. To instances of Foo have been constrcucted.

jverda at 2007-7-12 18:49:17 > top of Java-index,Java Essentials,New To Java...
# 3
So if I have static initialization it occurs only once because of loading the class only one time?Thanks
Eyal2007a at 2007-7-12 18:49:17 > top of Java-index,Java Essentials,New To Java...
# 4
once per classloader loading the class, yes.
jwentinga at 2007-7-12 18:49:17 > top of Java-index,Java Essentials,New To Java...