[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.