Destroyed - cleanUpCo = cU; } public int getCleanUpCo() {...

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

View Full Document Right Arrow Icon
package code2; p /** * Jesus Campos * CS-116-004 * Final Project - Destroyed Class * The Destroyed class is a copy of the Structure class with one additional field: * Clean Up Compnay Code **/ public class Destroyed extends Structure { p private int cleanUpCo; p public Destroyed() { super(); cleanUpCo = 0; } public Destroyed(int cU) { super();
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: cleanUpCo = cU; } public int getCleanUpCo() { return cleanUpCo; } public void setCleanUpCo(int cU) { cleanUpCo = cU; } public int calcPriority() { super.priority = super.priority * 0; return priority; } public String toString() { return super.toString() + "\n"+"Clean Up Company Code: "+cleanUpCo; } }...
View Full Document

This note was uploaded on 06/18/2009 for the course CS 116 taught by Professor Theys during the Spring '07 term at Central Texas College.

Ask a homework question - tutors are online