1.

Predict the output of following Java programclass Test {int i;}class Main {public static void main(String args[]) {Test t = new Test();System.out.println(t.i);}}(A) garbage value(B) 0(C) compiler error(D) runtime error

Answer»


Discussion

No Comment Found

Related InterviewSolutions