DeletedComboLock - { super(newId, newCombo); deleteDate =...

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

View Full Document Right Arrow Icon
package lab12; p public class DeletedComboLock extends ComboLock { int deleteDate; public DeletedComboLock() { super(); deleteDate = 000000; } public DeletedComboLock(int delDate) { super(); deleteDate = delDate; } public DeletedComboLock(ComboLock newCombo, int delDate) { super(newCombo.getId(), newCombo.getCombination()); deleteDate = delDate; } public DeletedComboLock(int newId, String newCombo, int delDate)
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(newId, newCombo); deleteDate = delDate; } public int getDeleteDate() { return deleteDate; } public void setDeleteDate(int i) { deleteDate = i; } //Overridden Method public String toString() { return super.toString() + "\tDelete ID Date: "+ deleteDate; } }...
View Full Document

Ask a homework question - tutors are online