EngineeringMajor - super(majorName...

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

View Full Document Right Arrow Icon
public class EngineeringMajor extends Major{ /* variables inherited from Major * String majorName; * String shorthandName; * String category; */ public EngineeringMajor(){ super(); category = "Engineering"; } public EngineeringMajor(String majorName, String shorthandName){
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: super(majorName, shorthandName, "Engineering"); } public String toString(){ return super.toString() + "\nI'm a helluva engineer!"; } }...
View Full Document

This note was uploaded on 01/30/2010 for the course CS 1316 taught by Professor Staff during the Spring '08 term at Georgia Tech.

Ask a homework question - tutors are online