Multiple choice technology programming languages

All statements in Java end with a _____________.

  1. Colon

  2. SemiColon

  3. Hypen

  4. Dot

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

In Java, every standard statement (expression statement, declaration, etc.) is terminated by a semicolon. Colons are used in labels or switch cases, hyphens are operators, and dots are member access operators.