Consider the Java segment:

String line1 = new String("c = 1 + 2 + 3") ;
StringTokenizer tok = new StringTokenizer(line1, delimArg);

For the String line1 to have 4 tokens, delimArg should be:
a. String delimArg = "+=";
b. String delimArg = "123"
c. String delimArg = "c+";
d. String delimArg = " ";

a. String delimArg = "+=";

Computer Science & Information Technology

You might also like to view...

A column chart is a chart that displays trends over time

Indicate whether the statement is true or false

Computer Science & Information Technology

A(n) ________ is a graphic that is inserted into a workbook background

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

Computer Science & Information Technology