Major - this.majorName = majorName; this.shorthandName =...

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

View Full Document Right Arrow Icon
public class Major{ String majorName; String shorthandName; String category; public Major(){ majorName = "Industrial and Systems Engineering"; shorthandName = "ISyE"; category = "Engineering"; } public Major(String majorName, String shorthandName, String category){
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: this.majorName = majorName; this.shorthandName = shorthandName; this.category = category; } public String toString(){ return "Major: " + majorName + " (" + shorthandName + ")" + "\nCategory: " + category; } }...
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