Loop condition

0 views
Skip to first unread message

Rohit Ghatol

unread,
Dec 8, 2007, 9:24:09 PM12/8/07
to Pune Java Interview Questions Group
public class Test{

private int max=Integer.MAX_VALUE;
private int min=0;

public static void main(String[] args){

for(int i =min;i<=max;i++){
System.out.println("i="+i);
}
}

}

What will this program do?

Pratham

unread,
Feb 1, 2008, 6:09:35 AM2/1/08
to Pune Java Puzzles
The Program is not going to compile
Reply all
Reply to author
Forward
0 new messages