Multiple Choice
Which of the following segments is a proper way to call the method readData four times?
A) double k = 0.0;
While (k != 4) {
ReadData() ;
K = k + 1;
}
B) int i = 0;
While (i <= 4) {
ReadData() ;
I = i + 1;
}
C) int i = 0;
While (i < 4) {
ReadData() ;
}
D) int i = 0;
While (i < 4) {
ReadData() ;
I = i + 1;
}
Correct Answer:

Verified
Correct Answer:
Verified
Q11: Which of the following operators associates from
Q12: What is output by the following Java
Q13: Which of the following terms is not
Q14: Which of the following code segments does
Q15: Which primitive type can hold the largest
Q17: In an activity diagram, the merge symbol
Q18: Which of the following is not an
Q19: Which of the following is not represented
Q20: Which of the following is not a
Q21: Which of the following statements about the