A

Admin • 828.70K Points
Coach

Q. 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);
}
}

  • (A) Yes
  • (B) No
  • (C) Compiler Dependent
  • (D) Operating System Dependent

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.