Hi,
i have a question here.
public class AQuestion
{
private int i = giveMeJ();
private int j = 10;
private int giveMeJ()
{
return j;
}
public static void main(
String args[])
{
System.out.println((new AQuestion()).i);
}
}
Why does this program when run, print 0 ? I would appreciate if any one could explain this in more detail as i feel i am not getting the flow properly.