Introduction to Java

Java is a class-based, object-oriented language that runs on the JVM.

"Write once, run anywhere" and a massive ecosystem make it a staple for enterprise backends.

snippet
public class Main {
    public static void main(String[] args) {
        System.out.println("Hello, InkAndHorizon!");
        
        var user = new User(1, "Alex");
        System.out.printf("User: %s%n", user.name());
    }
}

record User(int id, String name) {}

Key Insights

Statically typed

Compiled

High performance

Strong ecosystem