ComenzarEmpieza gratis

Your first Java code

It's time to run your first Java code!

Note: You do not need to change the code in this exercise.

Este ejercicio forma parte del curso

Introduction to Java

Ver curso

Instrucciones del ejercicio

  • Press the Run Code button to execute the Java code and see the results in the Output area.
  • Press the Submit Answer (or Submit) button to proceed to the next exercise.

Ejercicio interactivo práctico

Prueba este ejercicio completando el código de muestra.

// You learned about class in the previous video
class WelcomeToJava {

	// You'll learn about the main method next
    public static void main(String[] args) {
    
    	// You'll learn about println statements too!
    	System.out.println("Welcome to Introduction to Java!");
    }
}
Editar y ejecutar código