constructors
class Test42
{
String str=new String("Hello");
public static void main(String args[])
{
Test42 a = new Test42();
System.out.println(a.str);
}
}
can any one tell me why is the output coming as hello and why is an error not generated. str is an instance member of class Test42 and should be initialized only inside the it's constructor which i have not done. Then why is an error not generated here. Plz help.

