News

int getPubYear() { return pubYear ... The following example should clarify this fact: Java lets you declare methods with the same name but with different parameter lists in the same class.