Java Basics

Java code lives in classes. The main method is the entry point, and System.out.println prints a line.

Java
class Main {
  public static void main(String[] args) {
    System.out.println("Hello Programonic");
  }
}
Read the full lesson