import java.util.ArrayList; public class ALFunc { private ArrayList nums; public ALFunc () { this.nums = new ArrayList(); this.nums.add(0); this.nums.add(100); } public void f() { for (int i = 0; i < this.nums.size(); i++) { this.nums.set(i, this.nums.get(i) + 1); } } public String toString() { String s= ""; for (int i=0; i