[OCPJP]DriverManager 的用法
Which statement is true about the DriverManager class? A. It returns an instance of Connection. B. It executes SQL statements against the database. C. It only queries metadata of the database. D. It ...
MagicLen · https://magiclen.org
本站也提供繁體中文版。切換到繁體中文版
分类
MagicLen 的主要文章,分成「科学与科技」和「社会与生活」两大类。前者以编程、操作系统、网络与软硬件的教学和心得为主,后者包含语言学习、创作、旅游、开箱与各种生活主题,另外还有本站公告。
共 1660 篇文章
Which statement is true about the DriverManager class? A. It returns an instance of Connection. B. It executes SQL statements against the database. C. It only queries metadata of the database. D. It ...
Which two reasons should you use interfaces instead of abstract classes? A. You expect that classes that implement your interfaces have many common methods or fields, or require access modifiers othe...
Which statement is true about java.time.Duration? A. It tracks time zones. B. It preserves daylight saving time. C. It defines time-based values. D. It defines date-based values.
Which action can be used to load a database driver by using JDBC3.0? A. Add the driver class to the META-INF/services folder of the JAR file. B. Include the JDBC driver class in a jdbc.properties fil...
What is the result? A. The Employee table is updated with the row: 112 Jack and the program prints: 112 Jerry B. The Employee table is updated with the row: 112 Jack and the program prints:...
What is the result? A. 10123:Ford 10124:BMW B. 10124:BMW 10123:Ford C. A compilation error occurs. D. A ClassCastException is thrown at run time.
What is the result? A. The program executes successfully and the STUDENT table is updated with one record. B. The program executes successfully and the STUDENT table is NOT updated with any record. C...
Which statement is true? A. The program prints Call Call and terminates. B. The program prints Call Call and does not terminate. C. A compilation error occurs at line n1. D. An ExecutionException is ...
Which code fragment, when inserted at line n1, prints 10 20 15 30? A. Stream.of(list1, list2) .flatMap(list -> list.stream()) .forEach(s -> System.out.print(s + " ")); B. Stream.of(list1, list2) .fla...
Which statement is true? A. Board does not compile. B. Paper does not compile. C. Frame does not compile. D. Drawable does not compile. E. All classes compile successfully.