What will be the output of the following program?
public class BlockOfCode {
public static void main(String[] args) {
System.out.println("Main");
{
System.out.println("Bolck 1");
}
{
System.out.print("Bolck 2, ");
{
System.out.print("Bolck 2.1, ");
{
System.out.println("Bolck 2.1.1");
}
}
}
{
System.out.println("Bolck 3");
}
}
}