In a switch statement
a) a break is required after each case
b) multiple actions do not need to be enclosed in braces
c) a default case is required
d) a break is required after the default case
b) multiple actions do not need to be enclosed in braces
Computer Science & Information Technology
You might also like to view...
What is the output for y?
int y = 0; for (int i = 0; i < 10; ++i) { y += i; } System.out.println(y); a. 10 b. 11 c. 12 d. 13 e. 45
Computer Science & Information Technology
A __________ of a class called MyClass is another class whose methods call the methods of MyClass.
a. consumer b. servant c. caller d. client
Computer Science & Information Technology