Challenge: Basic Method Creation
Taak
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.
Oplossing
Was alles duidelijk?
Bedankt voor je feedback!
Sectie 1. Hoofdstuk 4
single
Vraag AI
Vraag AI
Vraag wat u wilt of probeer een van de voorgestelde vragen om onze chat te starten.
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
Veeg om het menu te tonen
Taak
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.
Oplossing
Was alles duidelijk?
Bedankt voor je feedback!
Sectie 1. Hoofdstuk 4
single