It is not mandatory in
Java to Initialize the instance variables before using. Only local variables have to be initialized before using.
In the example, all those variables are instance variable so compiler will not complain. But if you try that within a method, will result a compiler error.
[ July 22, 2007: Message edited by: Al Mamun ]