A class defines a static variable initialized at declaration: static int count = 10;. A static method attempts to modify it: count = 20;. Which statement is true?
Static variables are modifiable unless declared final.
Why this answer
Option C is correct because static variables belong to the class, not instances, and can be accessed and modified by static methods. The assignment `count = 20;` is valid and changes the value from 10 to 20 at runtime.
Exam trap
Oracle often tests the misconception that static methods cannot access static variables, or that static variables are implicitly final, leading candidates to choose compilation error or read-only options.
How to eliminate wrong answers
Option A is wrong because static variables are accessible from static methods; they are class-level members. Option B is wrong because the code compiles successfully; there is no syntax or semantic error in modifying a static variable from a static method. Option D is wrong because static variables are mutable unless declared with the `final` modifier; here `count` is not final, so it is read-write.