It sounds a little bit like you might have tried to put a class inside of a class... e.g.
public class SymbolArt {
public class SymbolArt {
...
You should also check whether you wrote
public static void main(String[] args) {
correctly.
(But you may have to provide more details for us to help.)