Declare a parameter
To declare a parameter to a method use:
(type name1, type name2, ...)
The name you give is in scope until the end of the method. Remeber that
each object method is also implicitly passed the object the method was invoked
on with a name of this.
Example:
(int count)
or
(String title, int count)
Link to this Page
- Declarations last edited on 21 March 2005 at 3:46 pm by user-11210m8.dsl.mindspring.com