Static modifiers are out of place

  • 3
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.
You can't complete this task, because you're not signed in.
  • Popular
  • New
  • Old
You must be signed in to leave a comment
MakinTosHLevel 20 , Vilnius
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.
RomanLevel 41
26 April 2019, 06:10
A method is not a field!