Consider the following program code
print(“1 “);
BEGIN { print (“2 “); }
END { print (“3 “); }
BEGIN { print (“4 “) }
END
{
package MyPackage;
print (“5 “);
}
What is the result of executing this program code
A.
The code will output the following
1 2 3 4 5
B.
The code will output the following
2 4 1 5 3
C.
The code will output the following
2 1 3 4 5
D.
The code will output the following
2 4 1 3