Solved

Which of the Following Segments Will Call the Method ReadData

Question 27

Multiple Choice

Which of the following segments will call the method readData four times


A) int k;
k = 1;
While (k < 4)
{
ReadData() ;
K = k + 1;
}
B) int i;
i = 0;
While (i < =4)
{
ReadData() ;
i= i + 1;
}
C) int i;
i = 0;
while (i < 4)
{
readData() ;
}

D) int i;
i = 0;
While (i < 4)
{
ReadData() ;
I = i + 1;
}

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions