Difference between revisions of "Calling Methods"

From CompSciWiki
Jump to: navigation, search
Line 6: Line 6:
 
=[[Math Methods]]=
 
=[[Math Methods]]=
 
=[[JOptionPane Methods]]=
 
=[[JOptionPane Methods]]=
=[[Calling Methods|Review Questions and Exercises]]=
+
=[[Calling Methods Questions|Review Questions and Exercises]]=

Revision as of 15:29, 20 March 2007


Wiki 1010 Table of Contents

Chapter #

Calling a method is like getting a screwdriver out of a toolbox labeled "screwdrivers" and then using it to solve your problem. Whenever JOptionPane.showInputDialog is called in Java, you are really telling Java to run the "tool" named showInputDialog which is located in the JOptionPane "toolbox".

You can write your own methods as well, this will be discussed later. For a full list of all the predefined methods, visit The Java API. This section defines some predefined methods that are useful.

  Write a Program a Day Case Studies





Table of Contents


String Methods

Math Methods

JOptionPane Methods

Review Questions and Exercises