MethodsWithoutClass
DRAFT
Observed

MethodsWithoutClass
Incorrect

Methods can be defined outside a class

Correct

Methods must be defined inside a class

Correction
Here is what's right.

Wrong: In Java all functions have to be members of a class (i.e., they have to be methods).