PPT Slide
Writing Methods: A Larger Look
--All methods belong to an object (or class).
--Name of object (or class) must be unambiguous when method called.
--To run a program, there must be a class (whose name is the name-of-the-program), containing a special method called main:
a class method,not aninstancemethod
for command line parameters
public static void main (String[ ] argv)