4th Week Spring 2011 Methods * © 1992-2010 by Pearson Education, Inc. All Rights Reserved. Outline Introduction Why method ? Static methods vs. non-static methods Example:…