CPS 1 - Spring, 1999 - Ramm 2/10/99 #12

Chapt 3. Numerical Computation and the Study of Functions

  • Setting it Up
    Declaration:
    double weights[];
    Definition:
    weights = new double[50];
    Or Combined:
    double weights[] = new double[50];

  • Subscript Range!!!

  • Simple Examples

  • Real Array Example
    Hotel.java, Hotel.html