// This DJ program outputs the sum 1 + 2 + ... + 100 class Summer extends Object { // This method returns the sum 0 + 1 + .. + n nat sum(nat n) { nat toReturn; // note: nat variables automatically get initialized to 0 for(0; 0