- 11
- 0
- 约1.36万字
- 约 14页
- 2017-04-12 发布于四川
- 举报
JAVA双语教学考试试卷和答案B
班 级学 号姓 名密封装订线密封装订线密封装订线B卷注意事项:请将各题答案按编号顺序填写到答题卷上,答在试卷上无效。单选题(本题共40小题,每小题1分,共40分)What is the return-type of the methods that implement the MouseListener interface?A. booleanB. BooleanC. voidD. PointSelect valid identifier of Java:A. %passwdB. 3d_gameC. $chargeD. thisWhich declares an abstract method in an abstract Java class?A. public abstract method();B. public abstract void method();C. public void abstract Method(};D. public abstract void method() {}Which statement about listener is true?A. Most component unallow multiple listeners to be added.B. If multiple listener be add to a single component, the event only affected one listener.C. Component don’t allow multiple listeners to be add.D. The listener mechanism allows you to call an addXxxxListener method as manytimes as is needed, specifying as many different listeners as your design require.Which method you define as the starting point of new thread in a class from which new thethread can be excution?A. public void start()B. public void run()C. public void int()D. public static void main(String args[]) Which statement is correctly declare a variable a which is suitable for refering to an array of50 string empty object?A. String [] aB. String aC. char a[][]D. String a[50] Which cannot be added to a Container?A. a MenuB. a ComponentC. a ContainerD. an AppletWhich is the main() method’s return of a application?A. StringB. byteC. charD. voidWhich is corrected argument of main() method of application?A. String argsB. String ar[]C. Char args[][]D. StringBufferarg[]Float s=new Float(0.9F);Float t=new Float(0.9F);Double u=new Double(0.9);Which expression’s result is true?A. s==tB. s.equals(t)C. s==uD. t.equals(u)Which are not Java keyword?A. gotoB. nullC. FALSED. constRun a corrected class: java –csAClass a b c enterWhich statement is true?A. args[0]=”-cs”;B. args[1]=”a b c”;C. args[0]=”java”;D. args[0]=”a”;Short answer:The decimal value of i is 12, the octal i value is: A. 14B. 014C. 0x14D. 012Short answer:The decim
您可能关注的文档
最近下载
- 2025至2030中国人造肌腱和韧带行业细分市场及应用领域与趋势展望研究报告.docx VIP
- 《建筑遮阳工程应用技术标准》(DB37T 5065-2025).docx VIP
- 沪教版 2025-2026 学年上学期七年级生物期末质量检测试卷(附答案).docx VIP
- 沪教版 2025-2026 学年上学期八年级生物期末质量检测试卷(附答案).docx VIP
- 桥式起重机安全检查表.docx VIP
- 2025年事业单位工勤技能-河南-河南电工一级(高级技师)历年参考题库含答案解析(5套).docx VIP
- 英语分级阅读:国家地理《Reading Explorer》A1-A2入门级 REF_unit 5B.pdf VIP
- 小托福单词表汇总(打印版).docx
- 中华人民共和国通信行业标准通信用阀控式密封铅-中国通信标准化协会.PDF VIP
- 四川省成都市高新南区2026届九年级数学第一学期期末考试试题含解析.doc VIP
原创力文档

文档评论(0)