Essay
Programming
Write a static method named printTwoDigit that accepts a Random object and an integer n as parameters and that prints a series of n randomly generated two-digit numbers. The method should use the Random object to select numbers in the range of 10 to 99 inclusive where each number is equally likely to be chosen. After displaying each number that was produced, the method should indicate whether the number 42 was ever selected ("we saw a 42!") or not ("no 42 was seen."). You may assume that the value of n passed is at least 0.
The following table shows two sample calls and their output:
Correct Answer:

Verified
Correct Answer:
Verified
Q2: While Loop Simulation<br>For each call below
Q3: Parameter Mystery<br>At the bottom of the page,
Q4: If/Else Simulation<br>For each call below to
Q5: Expressions<br>For each expression in the left-hand
Q6: Programming<br>Write a static method named consecutiveDigits
Q7: Programming (15 points)<br>In this question, we'll address
Q8: Assertions<br>For the following method, identify each