Faint steps could be heard, and then Master Yu Wu, an expert in the art of positioning objects, appeared in the room. He frowned at the code and said what the programmer was afraid to hear: "Where they are needed, the static modifiers are not. Your error herein lies". The master was correct: Rearrange the static modifiers so that the program compiles.
Static modifiers are out of place
- 3
Locked
Comments (3)
- Popular
- New
- Old
You must be signed in to leave a comment
remote87
19 January 2021, 12:14
At least underscore the fields word, I did not got it either.
0
MakinTosH
25 April 2019, 17:45
Requirement 6. There must be 3 static fields in the class.
This is wrong because there should be 4 static fields, if we include main method!
It should state add 3 static fields or there should be 4 static fields.
+1
Roman
26 April 2019, 06:10
A method is not a field!
+5