previous |
start |
next .... [Slide 3] ....
"Hello, World" in Java
- Simple but typical class
- Features:
- Constructor Greeter(String aName)
- Method sayHello()
- Instance field name
- Each feature is tagged public or private
previous |
start |
next .... [Slide 3] ....