All mock tests are FREE till 31 December — register to save your progress

Which of the following statements is/are True ? P : C programming language has a weak type system with static types. Q : Java programming language has a strong type system with static types.

Pick an option to check yourself, or open the answer below.

Show answer & explanation

Correct answer: C. Both P and Q

Explanation

C is statically typed but weakly typed (implicit conversions, casts, pointer tricks). Java is statically and strongly typed.

More Programming Languages and Computer Graphics questions