MHCoder

What will be the output of the following java program ?

package coding;

public class logicPseudo {
public static void main(String[] args) {
int x;
x=5;
{
int y=6;
System.out.print(x+" "+y);
}
System.out.print(x+" "+y);
}

}

2 years ago | [YT] | 2