Want to learn and master Java?

Join Exercism’s Java Track for access to 148 exercises grouped into 25 Java Concepts, with automatic analysis of your code and personal mentoring, all 100% free.

Explore concepts

About Java

class Greeter {

    String getGreeting() {
        return "Hello, World!";
    }

}

148 coding exercises for Java on Exercism. From Atbash Cipher to POV.


Get better at programming through fun, rewarding coding exercises that test your understanding of concepts with Exercism.

See all Java exercises on Exercism

Key Features of Java


Java

Modern

Java is a modern, fast-evolving language with releases every 6 months.

Statically-typed

Every expression has a type known at compile time.

Multi-paradigm

Java is primarily an object-oriented language, but has many functional features introduced in v1.8.

General purpose

Java is used for a variety of workloads like web, cloud, mobile and game applications.

Portable

Java was designed to be cross-platform with the slogan "Write once, run anywhere".

Garbage Collection

Java programs perform automatic memory management for their lifecycles.

A taste of the concepts you'll cover


See all the concepts for Java

Get mentored the Java way

Every language has its own way of doing things. Java is no different. Our mentors will help you learn to think like a Java developer and how to write idiomatic code in Java. Once you've solved an exercise, submit it to our volunteer team, and they'll give you hints, ideas, and feedback on how to make it feel more like what you'd normally see in Java - they'll help you discover the things you don't know that you don't know.

Learn more about mentoring

Community-sourced Java exercises

The Java track on Exercism has 25 concepts and 148 exercises to help you write better code. Discover new exercises as you progress and get engrossed in learning new concepts and improving the way you currently write.

See all Java exercises
Java

Get started with the Java track

The best part, it’s 100% free for everyone.