public class DacQuestion{
public static void main(String args[]){
int decrement = 12;
while(decrement<10)
decrement--;
System.out.println(decrement);
int increment = 0;
while (increment < 5)
increment++;
System.out.println(increment);
}
}
a. What will be the output for above question.
b, Explain why the answer.. is like that.
Monday, May 10, 2010
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment