this program just prints out prime number within the range of the for loop. however it doesn't print anything.

boolean prime;
	for(int i = 11; i < 100; i++){
	        prime = isPrime(i); //this method works as i tested it before

everytime i run this program, nothing prints out. the method that i use works if i enter a single number and it would tell me if it's a prime number or not.

and what does your isPrime(int) method looks like ?
and i++ is a waste of time is useless :) i += 2 will do it no need to test all even numbers

i've figured it out already, but thanks for the tip.