What is the output of System.out.println('z' - 'a')?

a. 25
b. 26
c. a
d. z

a. 25
The Unicode offset between z and a is 25.

Computer Science & Information Technology

You might also like to view...

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

1) A PL/SQL table’s row is referenced by the table name and a numeric index. 2) When a PL/SQL table is assigned to another PL/SQL table of the same type, the recipient table loses its previous rows and indexes. 3) A Varray’s COUNT must be higher than its LIMIT. 4) Once declared, a varray’s size limit cannot be changed. 5) A varray must be initialized before adding an element to it.

Computer Science & Information Technology

You are a network administration and have been asked to create a VLAN called Administrator. What command do you use on a Cisco switch to create an Administrator VLAN 2?

a. SwitchA#vlan Switch#vlan 2 name Administrator b. SwitchA#vlan Switch(data)#vlan 2 name Administrator c. SwitchA(config)#vlan 2 Switch(config-vlan)#name Administrator d. SwitchA#vlan database Switch(vlan)#vlan name Administrator

Computer Science & Information Technology