For the String line1 to have 4 tokens, delimArg should be:

Consider the Java segment:
String line1 = new String("c = 1 + 2 + 3") ;
StringTokenizer tok = new StringTokenizer(line1, delimArg);

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...

The most effective way to protect audit log data is to:

a. Write audit log data to tape b. Write-protect audit log data c. Write audit log data to write-once media d. Write audit log data to optical storage

Computer Science & Information Technology

To calculate the annual rate, you must _______ the value returned by the RATE function by the number of payments per year.

A. add B. subtract C. multiply D. divide

Computer Science & Information Technology

What dedicated hardware device aggregates hundreds or thousands of VPN connections?

A. VPN server B. VPN gateway C. VPN switch D. VPN concentrator

Computer Science & Information Technology

Which of the following technologies cannot be enabled after you have already created your virtual switch?

A. SR-IOV B. VMQ C. VVMQ D. vRSS

Computer Science & Information Technology