ComeçarComece de graça

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 exercício faz parte do curso

Introduction to Java

Ver curso

Instruções do exercício

  • 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.

Exercício interativo prático

Experimente este exercício completando este código de exemplo.

// 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 e executar o código