JAVA Constructors and Methods
Which of the following options is the best for generating random integer 0 or 1?

(int)(Math.random() + 0.2)
(int)Math.random() + 1
(int)(Math.random() + 0.5)
(int)Math.random()

ANSWER DOWNLOAD EXAMIANS APP