Useful Codes

Back to Semester 2

Chapter 8: Arrays and the ArrayList Class

Back to Top

Getting the Highest in a Numberic Array

highest

Back to Top

Getting the Lowest in a Numberic Array

lowest

Back to Top

String Arrays

StringArrays

Back to Top

Summing All the Elements of a Two-Dimensional Array

Back to Top

Summing the Rows of a Two-Demensional Array

SumRows

Back to Top

Summing the Columns of a Two-Demensional Array

sumCols

Back to Top

Use equals to compare

Back to Top

toString

Back to Top

Copy Constructor

Back to Top

Copy Objects

Back to Top

Character class methods for testing char values

Back to Top

Factorial method using recursion

Back to Top

String mehtods for getting a character or substring's location

Back to Top

startWith method

Back to Top

String methods that search for a substring

Back to Top

toLowerCase/ toUpperCase

Back to Top

Back to Top