相关考题
-
多项选择题
下列()属于JDBC驱动程序。
A.JDBC-SQL桥接驱动程序
B.JDBC-ODBC桥接驱动程序
C.原生API结合Java驱动程序
D.网络协议搭配完整的Java驱动程序 -
多项选择题
下列程序的错误有()。
A.println()参数应为字符串,因此此处不能调用该方法
B.因为变量a是private,所以在其他类中不能访问a
C.Second不能继承First
D.关键字final不能修饰类 -
多项选择题
为文件c:\java\example\file.txt建立File对象file1可以采用()语句序列。
A.File file 1=new File(“c:\\java\\example\\file.txt”)
B.String path=”c:\java\example\”Filefile1=newFile(path,”oldfile.txt”)
C.File dir 1=new File(“c:\\java\\example”)Filefile1=newFile(dir1,”oldfile.txt”)
D.File file 1=new File(“c:\java\\example\file.txt”)
