JMU
An Introduction to Using Functions/Methods
with Examples in Java


Prof. David Bernstein
James Madison University

Computer Science Department
bernstdh@jmu.edu


Overview
Examples
What You Need to Know to Use a Function/Method in Java
Examples
Examples (cont.)
Examples (cont.)
void Functions/Methods
An Example of a void Function/Method