Challenge: Basic Method Creation
Aufgabe
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.
Lösung
War alles klar?
Danke für Ihr Feedback!
Abschnitt 1. Kapitel 4
single
Fragen Sie AI
Fragen Sie AI
Fragen Sie alles oder probieren Sie eine der vorgeschlagenen Fragen, um unser Gespräch zu beginnen
Awesome!
Completion rate improved to 8.33
Challenge: Basic Method Creation
Swipe um das Menü anzuzeigen
Aufgabe
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.
Lösung
War alles klar?
Danke für Ihr Feedback!
Abschnitt 1. Kapitel 4
single