...

/

Quiz Yourself on Math and Wrapper Classes

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...
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");
Question 1 of 200 attempted