Escrevi o código na hora de executar apareceu esse erro no console.
Error occurred during initialization of boot layer java.lang.module.FindException: Error reading module: C:\Users\muril\eclipse-workspace\sintaxe-basica\bin Caused by: java.lang.module.InvalidModuleDescriptorException: Programa.class found in top-level directory (unnamed package not allowed in module)