GeneralEducation - String cDescription, String cDepartment,...

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

View Full Document Right Arrow Icon
//******************************************************************** // GeneralEducation.java Author: Lewis/Loftus // // Represents a generic general education course. //******************************************************************** / public class GeneralEducation extends Course { protected String requirement; p //---------------------------------------------------------------- // Sets up a general education course with the specified // information. //---------------------------------------------------------------- public GeneralEducation (String cTitle, String cNumber,
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: String cDescription, String cDepartment, String requirementFilled) { super (cTitle, cNumber, cDescription, cDepartment); s requirement = requirementFilled; } //----------------------------------------------------------------// Returns information about this course as a string. //----------------------------------------------------------------public String toString() { String result = super.toString(); S result += "\nGeneral Education Requirement Filled: " + requirement; r return result; } }...
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