Java : Programming Concept Questions & Answers
Question : Which statement transfer execution to different parts of your code based on the value of an expression?
A.
If
B.
Switch
C.
Nested-if
D.
if-else-if
Correct Answer is : Option B.
- Modulus operator (%) can be applied to which of these?
- What feature of OOP has a super-class sub-class concept?
- Which of the following are not the methods of the Thread class?
- Division operator has ____ precedence over multiplication operator.
- What is the full form of JVM ?