Fizz Buzz Bizz Fuzz in Java
Overall, this is a pretty straightforward program. See the bottom of my answer for an Extreme Makeover: Code Edition of the program.



You have a hard-coded "magic number" in your for loop.  It would be better to use a variable.

for (int i = 1; i &lt; 101; i++) // not the best

int num = 101;
for (int i = 1; i &lt; num; i++); // better




Your if test conditions can be shortened a bit.

if (Integer.toString(i).indexOf("3") != -1)




Your logic is a bit off.  You should actually have fewer else if conditions (this is rarely the case, but here it is applicable).  For example, when i reaches "15", is should print "FizzBuzzFuzz", but your program only prints "FizzFuzz".



Final code:

public class Test
{
    public static void main(String... args)
    {
        int num = 101;
        for (int i = 1; i &lt; num; i++)
        {
            boolean printed = false;

            if (i % 3 == 0)
            {
                printed = true;
                System.out.print("Fizz");
            }
            if (i % 5 == 0)
            {
                printed = true;
                System.out.print("Buzz");
            }

            if (Integer.toString(i).indexOf("3") != -1)
            {
                printed = true;
                System.out.print("Bizz");
            }
            if (Integer.toString(i).indexOf("5") != -1)
            {
                printed = true;
                System.out.print("Fuzz");
            }

            if (printed == false) System.out.print(i);
            System.out.println();
        }
    }
}




Extreme Makeover: Code Edition

Let's use a StringBuilder and some ternary operators.  And let's get rid of that boolean.

public class Test
{
    public static void main(String... args)
    {
        int num = 101;
        for (int i = 1; i &lt; num; i++)
        {
            StringBuilder sb = new StringBuilder();
            if(i % 3 == 0) sb.append("Fizz");
            if(i % 5 == 0) sb.append("Buzz");

            if(Integer.toString(i).indexOf("3") != -1) sb.append("Bizz");
            if(Integer.toString(i).indexOf("5") != -1) sb.append("Fuzz");

            if (sb.length() == 0) System.out.print(i);
            else System.out.print(sb);
            System.out.println();
        }
    }
}