第三章 java程序员笔试题.docVIP

  • 22
  • 0
  • 约 27页
  • 2017-06-10 发布于北京
  • 举报
Java程序员笔试题 单项选择题(共10题,每题2分,共20分) 下列哪一个正确A.Java程序经编译后会产生machine code B.Java程序经编译后会产生byte code C.Java程序经编译后会产生DLL D.以上都不正确提供Java存取数据库能力的包是()A.java.sql B.java.awt C.java.lang D.java.swing执行如下程序代码后,C的值是()a=0;c=0; do{ --c; a=a-1; }while(a0); A.0 B.1 C.-1 D.死循环()byte b = 128; B.boolean n = null; C.double d = 0.9239d; D.float f = 0.9239; 将一个十六进制值赋给一个long型变量的正确写法为。( D ) A.long number = 345L; B.long number = 0345; C.long number = 0345L; D.long number = 0x345L; 以下程序代码的输出是。( B ) public class test ( public static void main (String args[]) ( System.out.printIn (6 ^ 3); ) ) A.B.C.D.public class

文档评论(0)

1亿VIP精品文档

相关文档