Note that you can (and will) use "-" some places in your code; it's just not allowed as part of an "identifier" (i.e. for giving names to things).
For naming a new method or class you would be able to use "_".