next up previous
Next: The String Class Up: Even More on Methods Previous: Constructors

Method Summary

Non-static methods (sometimes called instance methods):

  1. Operate on data stored in objects or static variables
  2. Can call static or non-static methods
  3. Require the instantiation of an object to use
  4. Called by the syntax ObjectName.MethodName

Static Methods

  1. Operate on data stored in static variables only
  2. Can call only static methods
  3. Do not require instantiation of object to use
  4. Called by the syntax ClassName.MethodName



Chris Trendall
Copyright ©Chris Trendall, 2001. All rights reserved.

2001-12-09