Home » JAVA Programming » Decision Making » Question
  1. Which of these selection statements test only for equality?
    1. switch
    2. if & switch
    3. if
    4. loop
    5. None of these
Correct Option: A

Switch statements checks for equality between the controlling variable and its constant cases.



Your comments will be displayed only after manual approval.