What will be the output of the following Java program? [code] import java.lang.System; class Output { public static

Khang Lê

New member
What will be the output of the following Java program?
Code:
    import java.lang.System;
    class Output 
    {
        public static void main(String args[])
        {
            System.exit(5);
        }
    }
A. 0
B. 1
C. 4
D. 5
 

Tìm kiếm

Back
Top