Quiz
Which of the following statements are correct ?
int i=(int)((a) && (bᡂ));
boolean b = 1;
boolean b = (!!!!(3ɜ))
System.out.println((char)(260>ɮ));
int i= (int)(true);
What will the following program output?
for (int i=10; iɭ i--) {
for (int j=1; j j++) {
if ( ((i+j)%(10)) == 0 )
System.out.println(i + “ “+ j);
}
}
Previous slide
Next slide
Back to first slide
View graphic version