What will be the output of the following program?
public class VarScope {
public static void main(String[] args) {
int x = 10;
{
int y = 20;
System.out.print(x + ", " + y);
}
{
y = 10;
x = 15;
System.out.print(" - " + x + ", " + y);
}
System.out.print(" - " + x + ", " + y);
}
}