Multiple choice technology programming languages

Which Java keywords do you use in conditional statements to control program flow? Choose more than one option.

  1. catch

  2. else

  3. finally

  4. if

Reveal answer Fill a bubble to check yourself
B,D Correct answer
Explanation

The if and else keywords are used for conditional branching in Java - if executes code when a condition is true, else handles the false case. catch and finally are part of exception handling (try-catch-finally blocks), not conditional flow control.