Get startedGet started for free

Fill in the class

Great job so far! You are on your way to becoming a pro in no time. Classes are a way Java organizes code, similar to using folders.

This exercise is part of the course

Introduction to Java

View Course

Exercise instructions

  • Create a class called HelloClass.

Hands-on interactive exercise

Have a go at this exercise by completing this sample code.

// Start your class here
____ ____ {
    public static void main(String[] args) {
        System.out.println("I can do classes in Java now!");
    }
}
Edit and Run Code