1.

Which of the following will output a random number with values only from 0 to 10 ?(a) System.out.println(Math.round(Math.random()* 0));(b) System.out.println(Math.round(Math.random() % 10));(c) System.out.println(Math.random() *10);(d) None of the above​

Answer»

EXPLANATION:

NONE of the Above... ...



Discussion

No Comment Found