Hi Javaranchers:
Please try to predict the output of this question:
class A {
static A createA() {
return new A();
} // createA()
} // A
public class Tester {
public static void main(
String[] parms) {
A aVar = null;
System.out.println(aVar.createA().hashCode());
} // main()
} // Tester
"The self-controlled soul, who moves amongst sense objects, free from either attachment or repulsion, he wins eternal Peace." - Bhagavad Gita