/** * Description of the Reference superclass. We don't expect it * to be instantiated * * author: Luc Longpré * 10/24/2005 */ public class Reference { String author; String title; String year; public Reference(String theAuthor, String theTitle, String theYear) { // initialise instance variables author = theAuthor; title = theTitle; year = theYear; } public String toString() { return(author + ", " + title + "."); } }