Multiple Choice
The advantage(s) of the Random class' pseudo-random number generators, compared to the Math.random method, is that
A) you may create several random number generators
B) the generators in Random are more efficient than the one in Math.random
C) you can generate random ints, floats, and ints within a range
D) you can initialize and reinitialize Random generators
E) all but answer B
Correct Answer:

Verified
Correct Answer:
Verified
Q6: An API is<br>A) an Abstract Programming Interface<br>B)
Q26: JOptionPane is a class that provides GUI<br>A)
Q27: For the program to get a name
Q28: System.out.println("123" + 4) will display the value
Q30: All the methods in the Math class
Q30: If two variables contain aliases of the
Q31: Which of the following will yield a
Q32: The Swing package<br>A) completely replaces the AWT<br>B)
Q34: Consider the following two lines of code.
Q38: In Java, the symbol "=" and the