Classes (OOP)
class, constructor, fields, methods, and creating objects with new.
Simple enough for a 5-year-old to understand
class and constructor
public class Main { public static void main(String[] args) { Cat k = new Cat("Tabby"); System.out.println(k.meow()); }}class Cat { String name; Cat(String name) { this.name = name; } String meow() { return name + ": meow"; }}