题目内容

Sometimes a string will contain a series of words or other items of data separated by spaces or other characters. In programming terms, items such as these are known as what?(有时,字符串将包含一系列单词或其他数据项,这些数据项由空格或其他字符分隔开来。在编程术语中,像这样的项目被称为什么?)

A. Tokens (符号)
B. Delimiters (分隔符)
C. Key characters (关键字符)
D. Lists (列表)

查看答案
更多问题

What is the term used for the character that separates tokens?(用于分隔符号的字符术语是什么?)

A. Tokenizer (分词器)
B. Delimiter (分隔符)
C. Whitespace (空格)
D. separator(分离器)

The process of breaking a string down into tokens is known as what? (将字符串分解为符号的过程称为什么?)

A. Tokenizing (标记化)
Buffering (缓冲)
C. Simplifying (简化)
D. Parsing (解析)

To use the StringTokenizer class you must have the following import statement.(要使用StringTokenizer类,必须具有以下哪个导入语句)

A. import java.util.StringTokenizer;
B. import java.util.String;
C. import java.StringTokenizer;
D. import java.String;

What will be the tokens in the following statement? (下列语句中的标记是什么?)StringTokenizer strToken = new StringTokenizer("123-456-7890","-", true);

A. 123, 456, and7890
B. -
C. 123, 456, 7890, and-
D. None of the above

答案查题题库