|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.ObjectGreeting
public class Greeting
An obfuscated HelloWorld program to demonstrate coding style.
| Constructor Summary | |
|---|---|
Greeting()
Parameterless constructor, initializes keyboard input. |
|
Greeting(java.lang.String u)
Alternate constructor. |
|
| Method Summary | |
|---|---|
static void |
main(java.lang.String[] args)
Driver to test it out. |
void |
say()
Says default greeting. |
void |
say(java.lang.String intro)
Says the greeting. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Greeting()
public Greeting(java.lang.String u)
u - user of the program| Method Detail |
|---|
public void say()
public void say(java.lang.String intro)
public static void main(java.lang.String[] args)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||