Which statement is true about the switch statement?
Correct Answer:
B
Which two statements are true about Java byte code? (Choose two.)
Correct Answer:
AE
Given the code fragment:
Which three code fragments are valid at line n1?
Correct Answer:
CDE
Which three statements are true about the structure of a Java class? (Choose three.)
Correct Answer:
ACE
What is the name of the Java concept that uses access modifiers to protect variables and hide them within a class?
Correct Answer:
A
Using the private modifier is the main way that an object encapsulates itself and hide data from the outside world.
