CIS 3931 - Elementary Java Programming
Code Examples - Arrays
TestArray.java
- Example of simple array creation and usage
AssignGrade.java
- Example using an array to store student grades
TestPassArray.java
- Example showing how an array is passed into a method
Deviation.java
- Example using an array, passed into methods, to compute statistical results
TestCopyArray.java
- Example showing attempt to copy one array to another by name (incorrectly)
TestMatrixOperation.java
- Example illustrating the use of 2-dimensional arrays
SelectionSort.java
- Illustration of selection sort algorithm
LinearSearch.java
- illustration of linear search algorithm
BinarySearch.java
- illustration of binary search algorithm