Originally posted by Cathy Song:
Hi,
True/False?
Static can be applied to : instance variables, methods, code Segments and classes.
Thanks.
Looks a bit ambiguous to me. Yet another example of confusing wording.
:roll:
If a variable is already an instance variable, applying static modifier will make it a class variable. A top level class cannot be static, but a top level nested class can.
I haven't encountered any ambiguously worded questions like this one on the exam.