测试如下代码: public class Ref{ public static void main(String[] args) { StringBuffer sbl = new StringBuffer("Hello"); StringBuffer sb2 = new StringBuffer("Hello"); boolean result = sbl.equals(sb2); System.out.println(result); } } 下述哪条语句正确描述了程序编译和运行的行为?
A.
编译成功,输出为 true
B.
编译成功,输出为 1
C.
编译成功,输出为 false
D.
编译成功,输出为 0
手机使用
分享
复制链接
新浪微博
分享QQ
微信扫一扫
微信内点击右上角“…”即可分享
反馈
参考答案:
举一反三
【简答题】Questions 7-10 Write no more than TWO words AND/OR A number.
【单选题】Questions 7-10 From the information in the text, indicate who FIRST invented or used the items in the list below. Write the appropriate letters A-E in boxes 7-10 on your answer sheet. NB: You may use ...
【简答题】Questions 1-6 Complete the form below. Write No NORE THAN Tw0 WORDS AND/OR A NUMBER for each answer. ORDER FORM Example Reason for call: problems with website Name: 1 ___________ Freeman Title of ...
【简答题】Section 1 questions 1-10 每题 2 分,共 20 分。 Questions 1-6 Complete the form below. Write NO MORE THAN TWO WORDS AND/OR A NUMBER for each answer. Moving Company Service Report Example Answer Full Name: Jan...
【简答题】Test 1-Section 1.mp3: Questions 1-6 Complete the form below Write NO MORE THAN TWO WORDS AND/OR A NUMBER for each answer. Moving Company Service Report Phone Number: 1_________ USA Address: 509,2__...