LoslegenKostenlos loslegen

Java's entry point

The public static void main(String[] args) is where a Java program starts. It's your gateway to writing and running Java code!

Let's get started by making sure the program has a proper entry point.

Diese Übung ist Teil des Kurses

Introduction to Java

Kurs anzeigen

Anleitung zur Übung

  • Add the appropriate keyword instead of the ____.

Interaktive Übung

Versuche dich an dieser Übung, indem du diesen Beispielcode vervollständigst.

class SecondJavaApp {

	// Replace the ____ below with the necessary keyword
    public static void ____(String[] args) {
    
    	System.out.println("Java starts code execution in the main.");
    }
}
Code bearbeiten und ausführen