9
AssignmentMultiple Choice

Project: Using Switch-Case and Nested If Statements

Question 9 • ASC Programming, Games, Apps and Society

Suppose you are writing Java code for repetitive actions and want to be able to use certain blocks as needed. What would be best to use?

Answer
A
if-then
B
if-else
C
user-defined method
D
plug modules
Previous
Next
Suppose you are writing Java code for repetitive…