Difference between revisions of "Java Arrays Assignment"

From WLCS
Line 9: Line 9:
 
== Directions ==
 
== Directions ==
 
# Download [[Media:Sum.java]]
 
# Download [[Media:Sum.java]]
# Read and analyze [[Media:Sum.java]]
+
# Read, analyze, and execute [[Media:Sum.java]]
 
# Fix [[Media:Sum.java]] so that it compiles and executes properly
 
# Fix [[Media:Sum.java]] so that it compiles and executes properly
 +
# Demo the fixed [[Media:Sum.java]]
 +
 +
# Download [[Media:ArrayFun.java]]
 +
# Read, analyze, and execute [[Media:ArrayFun.java]]
 +
#

Revision as of 10:51, 5 May 2010

Objective

  • You will learn to declare arrays in Java
  • You will learn to iterate through arrays in Java
  • You will learn to manipulate arrays in Java

Resources

Directions

  1. Download Media:Sum.java
  2. Read, analyze, and execute Media:Sum.java
  3. Fix Media:Sum.java so that it compiles and executes properly
  4. Demo the fixed Media:Sum.java
  1. Download Media:ArrayFun.java
  2. Read, analyze, and execute Media:ArrayFun.java