Which of the following statements about statically typed languages is true?

2025

Which of the following statements about statically typed languages is true?

Answer: D. Type errors are caught during compilation

  1. A.

    Types are associated with values, not variables

  2. B.

    Variable types can change during execution

  3. C.

    Type checking is done at runtime

  4. D.

    Type errors are caught during compilation

Attempted by 184 students.

Show answer & explanation

Correct answer: D

Explore the full course: Niacl Ao It Specialist

Loading lesson…