网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
面向对象的程序设计方法有哪些优点?
参考答案
更多 “面向对象的程序设计方法有哪些优点?” 相关考题
考题
Which three concerning the use of the java.io.Serializable interface are true?()A、 Objects from classes that use aggregation cannot be serialized.B、 Art object serialized on one JVM can be successfully deserialized on a different JVM.C、 The values in fields with the volatile modifier will NOT survive serialization anddeserialization.D、 The values in fields with the transient modifier will NOT survive serialization anddeserialization.E、 It is legal to serialize an object of a type that has a supertype that does NOT implement java.io.Serializable.
考题
public class X { public static void main(String [] args) { try { badMethod(); System.out.print(“A”); } catch (RuntimeException ex) { System.out.print(“B”); } catch (Exception ex1) { System.out.print(“C”); } finally { System.out.print(“D”); } System.out.print(“E”); } public static void badMethod() { throw new RuntimeException(); } } What is the result?() A、 BDB、 BCDC、 BDED、 BCDEE、 ABCDEF、 Compilation fails.
考题
程序中怎样创建线程?
热门标签
最新试卷