Ask Me Help Desk
>
Computers & Technology
>
Programming
>
Compiled Languages
>
Java
> Declaring static field
PDA
View Full Version :
Declaring static field
fakerules
Sep 8, 2008, 10:33 PM
Why we can't declare a static field in a for loop..
jstrike
Sep 10, 2008, 05:18 PM
A static variable gets defined at the class level, not at the method level.