NameComboLock - idName = idd; } public String getNameId() {...

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

View Full Document Right Arrow Icon
package lab12; p public class NameComboLock extends ComboLock { p String idName; S public NameComboLock() { super(); idName = " "; } public NameComboLock(String idd) { super(); idName = idd; } public NameComboLock(ComboLock aCombo, String idd) { super(aCombo.getId(), aCombo.getCombination());
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: idName = idd; } public String getNameId() { return idName; } public void setNameId(String s) { idName = s; } public String toString() { return super.toString() + " \tID " + idName; } }...
View Full Document

This note was uploaded on 09/10/2009 for the course CS 102 taught by Professor Kanipiakins during the Spring '09 term at University of Maryland Baltimore.

Ask a homework question - tutors are online