Printing out
One of the most essential skills in programming is displaying output. Whether you're debugging code, showing results to users, or just confirming your program works, you'll use print statements constantly. Let's practice this fundamental skill!
Questo esercizio fa parte del corso
Introduction to Java
Istruzioni dell'esercizio
- Add the print method name after
System.out.to display text to the screen.
Esercizio pratico interattivo
Prova a risolvere questo esercizio completando il codice di esempio.
class WelcomeToJava {
public static void main(String[] args) {
// Add the print method
System.out.____("Welcome to Java!");
}
}