State the scope of each of the following entities:

a) the variable randomNumbers.
b) the variable die1.
c) the method rollDice.
d) the method main.
e) the variable sumOfDice.


a) class body.
b) block that defines method rollDice’s body.
c) class body.
d) class body.
e) block that defines method main’s body.

Computer Science & Information Technology

You might also like to view...

What is the value of number after the following statements execute?

int number; number = 18 / 4; a. 4.5 b. 4 c. 2 d. 0 e. unknown

Computer Science & Information Technology

To identify the query criteria in an SQL query, you should use the _________ clause

A) DESC B) WHERE C) FROM D) SELECT

Computer Science & Information Technology

What is rooting?

What will be an ideal response?

Computer Science & Information Technology

The ____ button on the FORM LAYOUT TOOLS ARRANGE tab inserts a row above the selected row.

A. Up B. Insert Row C. Insert Above D. Add Row

Computer Science & Information Technology