NameId - id = idd public String getNameId return id public...

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

View Full Document Right Arrow Icon
package lab7; p public class NameId extends ComboLock { p String id; S public NameId() { super(); id = " "; } public NameId(String idd) { super(); id = idd; } public NameId(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: id = idd; } public String getNameId() { return id; } public void setNameId(String s) { id = s; } public String toString() { return super.toString() + " \tID " + id; } }...
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