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


c. ABC

Computer Science & Information Technology

You might also like to view...

The set of properties, methods, and events for a class is called a class .

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

Look for the word UNIX in the files in the current director. Use an option that ignores distinction between upper and lower case letters

What will be an ideal response?

Computer Science & Information Technology

The subcategories on a Web site should be arranged in linear order, placing the most important subcategories first.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

The ____ allows authentication between the server and the client and the negotiation of an encryption algorithm and cryptographic keys before any actual data is transmitted.

A. TLS Record Protocol B. Secure FTP C. TLS Handshake Protocol D. HTTP

Computer Science & Information Technology