"Hello, World" in Java
- Construct separate class to
test your class
- main
method is called when program starts
- main
is static:
it doesn't operate on any
objects
- There are no objects yet
when main
starts
- In OO program, main
constructs objects and invokes
methods