final class A{int i;}class B extends A{int j;System.out.println(j + " " + i);}class inheritance{public static void main(String args[]){B obj = new B();obj.display();}}
Predict the output??...class work {public static void main(String[] args) {int g;g=6;{int h=7;System.out.print(g+""+h);}System.out.println(g+""+h);}}