Sample Questions:-
Question: 1
Which statement is true about the switch statement?
A. It must contain the default section.
B. The break statement, at the end of each case block, is optional.
C. Its case label literals can be changed at runtime.
D. Its expression must evaluate to a collection of values.
Answer: B
Question: 2
What is the name of the Java concept that uses access modifiers to protect variables and hide them within a class?
A. Encapsulation
B. Inheritance
C. Abstraction
D. Instantiation
E. Polymorphism
Answer: A
For More Information:-
Visit Now:-
https://www.dumpspass4sure.com/oracle/1z0-808-dumps.html
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.