ExamVeda
Login
Home
Interfaces and Abstract Classes
?

Will this Java program generate same output is executed again?
class Output 
{
    public static void main(String args[]) 
    {
        int y = double z = Math.random();
        System.out.print(y);
    }
}

Answer & Solution
Correct Answer: Option B
Let's discuss the solution. Join the discussion
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.