Problems of class, subject "static in main method"