Java allows a variable to hold only values of its declared type for its whole life. That makes Java:
ASparsely typed
BSoftly typed
CStrongly typed
DSlowly typed
Answer & Solution
Correct answer: C. Strongly typed
1. The type never changes.
2. The language enforces it.
3. It is strongly typed.
_Source: OpenStax Introduction to Computer Science, Chapter 7, High-Level Programming Languages._
Keep practising Programming Languages
Browse all Programming Languages questions for Computer Science — Uganda, or explore more Computer Science topics.