Tú Linh Nguyễn
New member
Which of the following is the output of the program?
A. Compilation error
B. Run time error
C. Exception
D. The value of num is 10
Code:
class Test {
public static void main(String args[])
{
int num = 10;
System.out.println("The value of num is" +NUM);
}
}
B. Run time error
C. Exception
D. The value of num is 10