{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Elective - public Elective(String cTitle String cNumber...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
//******************************************************************** // Elective.java Author: Lewis/Loftus // // Represents a generic elective course. //******************************************************************** / public class Elective extends Course { //---------------------------------------------------------------- // Sets up an elective course with the specified information. //----------------------------------------------------------------
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: public Elective (String cTitle, String cNumber, String cDescription, String cDepartment) { super (cTitle, cNumber, cDescription, cDepartment); } //-----------------------------------------------------------------// Returns a string including the basic course information. //-----------------------------------------------------------------public String toString() { return "Elective course:\n" + super.toString(); } }...
View Full Document

{[ snackBarMessage ]}