import java.util.Scanner; public class List { private final int MAX = 50; // two instance variables private int[] info; private int length; // default constructor public List() { length = 0; info = new int[MAX]; } public boolean IsFull() { return length == MAX; } public void Insert(int item) { info[length] = item; length ++; } public int Sum() { int total = 0; for(int i=0; i