1
What is the output of the following program?
class Main {
private int x = 7;
class Inner { int get() { return x; } }
public static void main(String[] args) {
Main o = new Main();
Main.Inner in = o.new Inner();
System.out.println(in.get());
}
}Medium