Update 04-class-field.tex

The field "method" does not exist. However "myMethod" method, yes.