Challenge: Basic Method Creation
Tarefa
Swipe to start coding
Practice creating and calling methods that do not accept any parameters.
- Create a public static method named
printWelcomethat prints the string:Welcome to the Java Methods Challenge!; - Create a public static method named
showInstructionsthat prints the string:Follow the instructions carefully to complete the task.; - Create a public static method named
printCompletionthat prints the string:Congratulations! You have completed the challenge.
Solução
Tudo estava claro?
Obrigado pelo seu feedback!
Seção 1. Capítulo 4
single
Pergunte à IA
Pergunte à IA
Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo
Suggested prompts:
Can you explain this in simpler terms?
What are some examples related to this topic?
Where can I learn more about this?
Awesome!
Completion rate improved to 8.33
Challenge: Basic Method Creation
Deslize para mostrar o menu
Tarefa
Swipe to start coding
Practice creating and calling methods that do not accept any parameters.
- Create a public static method named
printWelcomethat prints the string:Welcome to the Java Methods Challenge!; - Create a public static method named
showInstructionsthat prints the string:Follow the instructions carefully to complete the task.; - Create a public static method named
printCompletionthat prints the string:Congratulations! You have completed the challenge.
Solução
Tudo estava claro?
Obrigado pelo seu feedback!
Seção 1. Capítulo 4
single