|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object P
The P class from exercise 5.4 in the book.
Constructor Summary | |
P()
|
Method Summary | |
static void |
rint(boolean b)
Overloaded version of rint |
static void |
rint(java.lang.String s)
Simpler to call print method. |
static void |
rintln(boolean b)
Simpler to calls System.out.println. |
static void |
rintln(java.lang.String s)
Simpler to calls System.out.println. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public P()
Method Detail |
public static void rint(java.lang.String s)
public static void rint(boolean b)
b
- the boolean variable to printpublic static void rintln(java.lang.String s)
s
- the string to displaypublic static void rintln(boolean b)
b
- the boolean to display
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |