it checks if the array needs more slots , if it does it adds 5 more slots to the original array while keeping the same content and order of the array
how could u do this in a method that returns true
and recieves add number to put in the array.?
public boolean add(int theNum)
{
.....
return true
}