Printing out
Printing text is one of the first steps in Java programming. It helps display messages, debug code, and interact with users.
Complete the program to print a welcome message!
Este exercício faz parte do curso
Introduction to Java
Instruções do exercício
- Replace
____with the correct Java keyword for printing -println.
Tip: you can view the Slides in the output window. On mobile, click on the three horizontal lines.
Exercício interativo prático
Experimente este exercício completando este código de exemplo.
class WelcomeToJava {
public static void main(String[] args) {
// Replace the ____ below with the necessary keyword
System.out.____("Welcome to Java!");
}
}