Quiz Yourself on Math and Wrapper Classes
Attempt the following quiz to test your understanding of Math and wrapper classes
We'll cover the following...
We'll cover the following...
Technical Quiz
1.
(Select all that apply.) Which code snippets will assign i
equal to 0
?
A.
Integer obj = new Integer ((int)Math.random());
int i = obj.intValue();
B.
Integer i = new Integer (0.0);
C.
Integer i = new Integer ("0");
1 / 20