What is displayed by the following code?

```
String[] tokens = "A,B;C;D".split("[,;]");
for (int i = 0; i < tokens.length; i++)
System.out.print(tokens[i] + " ");```
a. A,B;C;D
b. A B C D
c. A B C;D
d. A B;C;D


b

Computer Science & Information Technology

You might also like to view...

What kind of screen allows users to take the most advantage of the desktop's ability to display multiple application windows?

A. small screens B. large screens C. tablet screens D. smart screens

Computer Science & Information Technology

When a workbook must be frequently reused, a ________ can save time and errors by providing a workbook with a set of formats and formulas

A) workbook B) template C) chart D) worksheet

Computer Science & Information Technology

What defense may be employed against this technique?

What will be an ideal response?

Computer Science & Information Technology

When the types of two operands in a binary expression are different, C automatically converts one type to another using the concept of conversion rank.

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

Computer Science & Information Technology