Java has a beautiful syntax compared to Python: public class Main { public static void main(String[] args) { Manager alice = new Manager("Alice", 50000); Developer bob = new Developer("Bob", 40000); Tester charlie = new Tester("Charlie", 35000);