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) abc456
B) ABC456
C) ABC
D) 456
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q9: Autoboxing is _.<br>A) Java's process of automatically
Q10: Any _ argument passed to the Character
Q11: What will be displayed after the following
Q12: If you are using characters other than
Q13: The wrapper classes in Java are immutable,
Q15: What will be the value of matches
Q16: You can change the contents of a
Q17: When working with the String and StringBuilder
Q18: If a non-letter argument is passed to
Q19: Which of the following import statements is