Which code segment shows a variable declaration but NOT an initialization?
- int score = 100;
- int score; (correct answer)
- score = 100;
- String score = "100";
Explanation: A declaration introduces a variable's name and type (int score;). An initialization gives it its first value (= 100). Option (B) declares the variable score but does not assign it an initial value.