|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--Notebook
This class implements a simple product description for a notebook
| Constructor Summary | |
Notebook(long theUPC)
Construct a new NoteBook using the parameter provided. |
|
| Method Summary | |
long |
getUPC()
Any class that implements the UPC interface must be able to say what its UPC code is. |
java.lang.String |
toString()
return a String describing this Notebook |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Notebook(long theUPC)
theUPC - The UPC code for this notebook| Method Detail |
public long getUPC()
getUPC in interface UPCpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||