Multiple Choice
What will be printed after the following code is executed?
String str = "abc456";
Int m = 0;
While ( m < 6 )
{
If (!Character.isLetter(str.charAt(m) ) )
System.out.print(
Character.toUpperCase(str.charAt(m) ) ) ;
M++;
}
A) 456
B) ABC456
C) ABC
D) abc456
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q10: Look at the following code: Integer myNumber
Q11: What will be the value of matches
Q12: What is the term used for the
Q13: This character is one that appears at
Q14: Look at the following statement: StringBuilder str
Q16: Sometimes a string will contain a series
Q17: The no-arg constructor for a StringBuilder object
Q19: What will be the tokens in the
Q20: The following statement correctly creates a StringBuilder
Q34: What would be the results of executing