此题为判断题(对,错)。
第1题:
以下返回true的表达式有()
A.“george”==“george”
B.”george”=“george”
C.“george”.equals(newString(“george”))
D.“george”==newString(“george”)
第2题:
A. global.myName ="George";
B. _global.myName ="George";
C. global myName ="George";
D. myName ="George";
第3题:
You define the following regular expression of currency values:regex tx = new regex("^-?\d+(\.\d{2})?$")You are required to write code that will be used to find whether a string in the variable named Bill matches the regular expression or not. You are also required to use this code as the expression in a conditional statement and need to know which code segment to use.What should you do?()
A.The tx.Matches(Bill)
B.The tx.Equals(Bill)
C.The tx.Match(Bill)
D.The tx.IsMatch(Bill)
第4题:
A. endured
B. survived
C. lived
D. passed
第5题:
A. global. myName="George"
B. _global. myName="George"
C. global. myName="George"
D. myName="George"
第6题:
9. —Where is my football?
—It's ______the table ________ the floor.
A, on; under
B. on ; on
C, under ;under
D. under; on