
Post


@EclipseJavaIDE @EclipseFdn You can’t apply static modifier to a local variable. The compiler doesn’t like that.
English

@EclipseJavaIDE Doesn't compile due to illegal use of static modifier in the method fun().
English

@EclipseJavaIDE @java Hah, I thought this is a new java feature to apply static modifier to a local variable
English

@EclipseJavaIDE @java Compile time error, local variable can't be static
English

@EclipseJavaIDE @java static variables are not allowed inside method ..all static variables are class scope and instance variables and methods are specifc to object of that particular class.
English

@EclipseJavaIDE local variables can't have static modifiers. <Compilation Error>
English

@EclipseJavaIDE How you guys concluded to 0 or 1? its "illegal start of expression"
English

@EclipseJavaIDE @java I'd say a horse riding a man as an answer
It's 3am in here :D
English

@EclipseJavaIDE @java Compile time error...it is illegal to declare/initialize local static variable in method
English

@EclipseJavaIDE @java Compilation Error ........
lcl vrbls cn't hv static modifiers.
English

@EclipseJavaIDE @java Compilation Error, you should state which class when calling static method and static variable
English

@EclipseJavaIDE @java illegal start of expression, compilation error
English

@EclipseJavaIDE static method are declared at class level not in method
English


















