MCQ Single Best Answer Not Set

QDetermine output of the following program.
public class Test{
           public static void main(String args[]){
                  System.out.println( Math.floor( Math.random( ) ) ) ;
           }
}

ID: #2175 Java Constructor and Methods 762 views
Question Info
#2175Q ID
Not SetDifficulty
Java Constructor and MethodsTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A 1.0
  • B 10.0
  • C 0.0
  • D 0.5
Correct Answer: Option C

Explanation

0.0

Share This Question

Challenge a friend or share with your study group.