|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object Exercise4_2
Exercise 4.2 from the book *
Constructor Summary | |
(package private) |
Exercise4_2()
The default constructor |
(package private) |
Exercise4_2(java.lang.String s)
Constructor that takes a single string argument. |
Method Summary | |
static void |
main(java.lang.String[] args)
The main method that creates new objects. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
Exercise4_2()
Exercise4_2(java.lang.String s)
s
- A string argument that is simply printedMethod Detail |
public static void main(java.lang.String[] args)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |