51CTO下载JAVA笔试题-中数通.docVIP

  • 81
  • 0
  • 约9.98千字
  • 约 6页
  • 2017-03-06 发布于贵州
  • 举报
51CTO下载JAVA笔试题-中数通

JAVA软件工程师笔试题 应聘者: 职位: 答题时间: 考试时间:60分钟 选择题 一.选择题 1、下面哪些是java语言中的关键字? A.?sizeof? B.?abstract?C.?NULL?D.?Native? 2、下面语句哪个是正确的? A.?char abc;B.?long?l oxfff;C.?float?f 0.23;D.?double 0.7E-3;? 3、以下程序测试String?类的各种构造方法,试选出其运行效果。 class?STR public?static?void?main String?args[] String?s1 new?String ; String?s2 new?String String?2 ; char?chars[] a,?,s,t,r,i,n,g ; String?s3 new?String chars ; String?s4 new?String chars,2,6 ; byte?bytes[] 0,1,2,3,4,5,6,7,8,9 ; StringBuffer?sb new?StringBuffer s3 ; String?s5 new?String sb ; System.out.println The?String?No.1?is?+s1 ; System.out.println The?String?No.2?

文档评论(0)

1亿VIP精品文档

相关文档