Apart from the spelling error which Piet noticed, the real problem is that you are trying to write a statement “naked” in the method body. Statements are only permitted in methods, constructors, and initialsers. The nearest to a statement you can have “naked” in the class is a declaration and initialisation.
There are a tremendous amount of alternatives, all with their own advantages and disadvantages, some of which are a matter of taste.
People enjoy giving opinions here and helping you when you are stuck with something that you tried to read about and didn't understand, but I believe it would be helpful to be following a tutorial aimed at those new to Java at this point. Many people here will be happy to answer any questions that come up for you during such a process.
RTFJD (the JavaDocs are your friends!) If you haven't read them in a long time, then RRTFJD (they might have changed!)