Q. What will be the output of the following Java program?
import java.lang.System;
class Output
{
public static void main(String args[])
{
System.exit(5);
}
}
β
Correct Answer: (D)
5