[OCPJP] 继承与可见度
What is the result? A. Read Java Programming View http://ebook.com/ebook B. Read Java Programming Read http://ebook.com/ebook C. The EBook.java file fails to compile. D. The Test.java file fails to c...
MagicLen · https://magiclen.org
本站也提供繁體中文版。切換到繁體中文版
分类
Java 编程语言的教学与范例,包含语法观念、算法实作与桌面程序开发,并收录大量 Java 认证考试(OCAJP、OCPJP)的题目解析。
共 403 篇文章
What is the result? A. Read Java Programming View http://ebook.com/ebook B. Read Java Programming Read http://ebook.com/ebook C. The EBook.java file fails to compile. D. The Test.java file fails to c...
What is the result? A. 2 : 30 B. 4 : 0 C. 4 : 60 D. 4 : 60 2 : 30 3 : 20 1 : 10 E. The program prints nothing.
What is the result? A. Searching... B. Searching... Searching... C. Searching... Searching... Searching... D. A compilation error occurs.
What is the result? A. Good day! Test followed by an Exception stack trace B. Good day! followed by an Exception stack trace C. Good day! Test null D. A compilation error occurs at line n1.
What is the result? A. 2016-02-14 B. A DateTimeException is thrown. C. 2016-02-29 D. A compilation error occurs at line n1.
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:...