ComenzarEmpieza gratis

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!

Este ejercicio forma parte del curso

Introduction to Java

Ver curso

Instrucciones del ejercicio

  • Add the print method name after System.out. to display text to the screen.

Ejercicio interactivo práctico

Prueba este ejercicio y completa el código de muestra.

class WelcomeToJava {

    public static void main(String[] args) {
    
    	// Add the print method
    	System.out.____("Welcome to Java!");
   }
}
Editar y ejecutar código