Consider the following method, which is intended to return the number of strings of length greater than or equal to 3 in an array of String objects.
public static int checkString(String[] arr)
{
int count = 0;
for (int k = 0; k = 3)
{
count++;
}
}
return count;
}
Which of the following code segments compile without error?