Cannot call an Anonymous Class Method
问题 I'm trying to call a method, setPostal(String post) I made from an anonymous class, but for some reason the compiler doesnt even recognize it in main. Any reason why this is? Part of my code (address is an inner class of Student): Student public class Student implements Gradeable, Cloneable { String name; int id; Address address; public Student() { name = "unknown"; address = new Address(); } public Student(String name, int id, Integer... option) { this.name = name; this.id = id; if (option