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

This note was uploaded on 05/17/2011 for the course COP 3530 taught by Professor Davis during the Spring '08 term at University of Florida.

Ask a homework question - tutors are online