Which of the following is the correct statement to return JAVA?
A. String.toUpperCase("Java")
B. "Java".toUpperCase("Java")
C. toUpperCase("Java")
D. "Java".toUpperCase()
查看答案
Suppose s is a string with the value "java". What will be assigned to x if you execute the following code? char x = s.charAt(4);
A. 'v'
B. Nothing will be assigned to x, because the execution causes the runtime error StringIndexOutofBoundsException.
C. 'a'
The __________ method parses a string s to an int value.
A. Integer.parseInteger(s);
B. integer.parseInt(s);
C. integer.parseInteger(s);
D. Integer.parseInt(s);
"smiles".substring(1, 5) returns "mile".
A. false
B. true
()也称贷记卡,是银行向金融上可信赖的客户提供无抵押的短期周转信贷的一种手段。
A. 信用卡
B. 借记卡
C. 复合卡
D. 现金卡