Solved

StringTokenizer Is a Class in the Java

Question 1

Multiple Choice

StringTokenizer is a class in the java.util library that can divide a String based on some delimiter String (a delimiter is a separator) . If the instruction StringTokener st = new StringTokenizer(str, "&&") ; is executed, where str is some String, then st divides up str into separate Strings whenever


A) a blank space is found
B) two blank spaces are found
C) a single ampersand ("&") is found
D) two ampersands are found
E) two ampersands or the substring "and" or "AND" is found

Correct Answer:

verifed

Verified

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents