Examlex

Solved

What Will Be Printed After the Following Code Is Executed

question 14

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++;
}


Definitions:

Related Questions