Leave a Reply 3

Your email address will not be published. Required fields are marked *


Kevin

Kevin

D because (–ii) is not a boolean value. If you execute the following then E would be the correct answer:

public class DoWhile1 {
public static void main (String [] args) {
int ii = 2;
do {
System.out.println (ii);
} while (–ii>0);
}
}