6
AssignmentMultiple Choice

Project: Using Switch-Case and Nested If Statements

Question 6 • ASC Programming, Games, Apps and Society

Suppose you are programming with Java code and want the ability to restrict some use, yet for some steps make things public. What code would be best?

Answer
A
private modifier
B
class modifier
C
access modifier
D
public modifier
Previous
Next