Will this Java program generate same output is executed again? [code] class Output { public static void main(String

Kim Trang

New member
Will this Java program generate same output is executed again?
Code:
    class Output 
    {
        public static void main(String args[]) 
        {
            int y = double z = Math.random();
            System.out.print(y);
        }
    }
A. Yes
B. No
C. Compiler Dependent
D. Operating System Dependent
 

Tìm kiếm

Back
Top