public class FizzBuzzTester{
	public static void main(String[] args){
		FizzBuzzer firstFizz = new FizzBuzzer(20);
		System.out.println(firstFizz); 
		//output: 1 2 fizz 4 buzz fizz 7 8 fizz buzz 11 fizz 13 14 fizzbuzz 16 17 fizz 19 buzz
	}
}

class FizzBuzzer{
	public int fizz;
	public int buzz;
	public int stopPoint;
	
	public FizzBuzzer(){
		fizz = 3;
		buzz = 5;
		stopPoint = 30;
	};
	
	public FizzBuzzer(int stop){
		this();
		stopPoint = stop + 1;
	}
	
	public String toString(){
		String temp = "";
		for (int i = 1; i < stopPoint; i++){
			if (i % 3 == 0) {
				temp += "fizz";
			}
			if (i % 5 == 0) {
				temp += "buzz";
			}
			
			if (i % 3 != 0 && i % 5 != 0){
				temp += i;
			}
			if( i < stopPoint -1) {
				temp+= " ";
			}
		}
			
		return temp;
	
	}
}
@@ -231,19 +231,224 @@
 19 buzz%0A
+%09%09FizzBuzzer secondFizz = new FizzBuzzer(4, 7, 30);%0A%09%09System.out.println(secondFizz); %0A%09%09//output: 1 2 3 fizz 5 6 buzz fizz 9 10 11 fizz 13 buzz 15 fizz 17 18 19 fizz buzz 22 23 fizz 25 26 27 fizzbuzz 29%0A%0A
 %09%7D%0A
-
 %7D%0A%0Aclass
@@ -655,16 +655,144 @@
 op + 1;%0A
+%09%7D%0A%09%0A%09public FizzBuzzer(int fizzle, int buzzer, int stop)%7B%0A%09%09this();%0A%09%09fizz = fizzle;%0A%09%09buzz = buzzer;%0A%09%09stopPoint = stop + 1;%0A%0A
 %09%7D%0A%09%0A%09pu
@@ -885,17 +885,20 @@
 if (i %25 
-3
+fizz
  == 0) %7B
@@ -934,17 +934,20 @@
 if (i %25 
-5
+buzz
  == 0) %7B
@@ -987,17 +987,20 @@
 if (i %25 
-3
+fizz
  != 0 &&
@@ -1004,17 +1004,20 @@
  && i %25 
-5
+buzz
  != 0)%7B%0A

Make fizzbuzz work for any two factors and stopPoint