【单选题】【消耗次数:1】
声明并创建一个按钮对象b,应该使用的语句是( )
Button b=new Button();
button b=new button();
Button b=new b();
setLabel(“确定”);
参考答案:
复制
纠错
相关题目
【单选题】 A: Happy New Year to you. B: [填空]
①  Yes,Im happy.
②  How about you
③  Fine,thank you.
④  The same to you.
【判断题】 button不是input标记的type属性值( )。
①  正确
②  错误
【单选题】 A: How do I get to the new library?B: [填空].
①  Im sorry I cant understand
②  You could take the number 11 bus
③  Im afraid you missed the bus
④  Im glad to show you the way
【判断题】 单击Button类型控件会形成页面往返处理。
①  正确
②  错误
【判断题】 A: A Merry Christmas and Happy New Year to you! B: The same to you!
①  正确
②  错误
【判断题】 A: Im depressed. I just lost my new car. B: It is always nice to drive a new car.
①  正确
②  错误
【简答题】 设置Button类型控件的属性[填空1]值可确订单击按钮后跳转到相应网页。
【单选题】 如果容器组件p的布局是BorderLayout,则在p的下边中添加一个按钮b,应该使用的语句是( )
①  p.add
②  ;
③  p.add b,North);
④  p.add b,South);
⑤  add p,North);
【单选题】 应用程序的main方法中有以下语句,则输出的结果是 ( )。 String s1=new String(abc); String s2=new String(abc); boolean b1=s1.equals(s2); boolean b2=(s1==s2); System.out.print(b1+ +b2);
①  true false
②  false true
③  true true
④  false false
【填空题】 最重要并常用的形态指标是(   )和(   )。<img class="questionIndex" data-index="1" src="/common/images/question_button/BlankSpace1.gif"/><img class="questionIndex" data-index="2" src="/common/images/question_button/BlankSpace2.gif"/>
随机题目
【判断题】 目标等要素构成的自上而下的管理过程。()
①  正确
②  错误
【判断题】 心理学和社会学的研究方法并非组织行为学唯一的研究方法。()
①  正确
②  错误
【判断题】 角色特质强的人不善于伪装自己。()
①  正确
②  错误
【判断题】 学习组织行为学的目的是开发管理者的人际关系技能。()
①  正确
②  错误
【判断题】 组织行为学应该把政治经济学作为自己的理论来源之一。()
①  正确
②  错误
【判断题】 社会知觉中的规类效应指的是,以概括性的知觉取代个别性的知觉。()
①  正确
②  错误
【判断题】 亚当斯的公平理论认为,不应该关心其他人的报酬问题。()
①  正确
②  错误
【判断题】 阿尔德弗的ERG理论认为,只有低层次的需要基本满足后,才会出现高层次的需要。()
①  正确
②  错误
【判断题】 短暂的。()
①  正确
②  错误
【判断题】 德尔文法使匿名会议式的决策模式。()
①  正确
②  错误