Which statements, when inserted at the indicated position in the following code, will cause a runtime exception when attempting to run the program?()   class A {}   class B extends A {}   class C extends A {}   public class Q3ae4 {   public static void main(String args[]) {   A x = new A();   B y = new B();   C z = new C();   // insert statement here   }   } A、x = y;B、z = x;C、y = (B) x;D、z = (C) y;E、y = (A) y;

Which statements, when inserted at the indicated position in the following code, will cause a runtime exception when attempting to run the program?()   class A {}   class B extends A {}   class C extends A {}   public class Q3ae4 {   public static void main(String args[]) {   A x = new A();   B y = new B();   C z = new C();   // insert statement here   }   } 

  • A、x = y;
  • B、z = x;
  • C、y = (B) x;
  • D、z = (C) y;
  • E、y = (A) y;

相关考题:

12 Which of the following statements are correct?(1) Contingent assets are included as assets in financial statements if it is probable that they will arise.(2) Contingent liabilities must be provided for in financial statements if it is probable that they will arise.(3) Details of all adjusting events after the balance sheet date must be given in notes to the financial statements.(4) Material non-adjusting events are disclosed by note in the financial statements.A 1 and 2B 2 and 4C 3 and 4D 1 and 3

Which of the following objects contains control structures that are considered the bound form of SQL statements?() A.UDTB.TriggerC.PackageD.Access plan

Your computer has a wired network adapter and a wireless network adapter. You use the wireless network adapter only whe nyou are traveling. You need to configure the network adapter profile settings to ensure that the computer discovers other network devices only when you are at home.Which two actions should you perform?()A.AB.BC.CD.D

Which of the following statements is NOT a way of consolidating vocabulary A.Defining.B.Matching.C.Gapfilling.D.Labeling.

Which of the following statements is true regarding the VERSIONS BETWEEN clause?()  A、 The VERSIONS BETWEEN clause may be used in DML statements.B、 The VERSIONS BETWEEN clause may be used in DDL statements.C、 The VERSIONS BETWEEN clause may not be used to query past DDL changes to tables.D、 The VERSIONS BETWEEN clause may not be used to query past DML statements to tables.

Which statement is true regarding the INTERSECT operator?()A、It ignores NULL values B、Reversing the order of the intersected tables alters the result C、The names of columns in all SELECT statements must be identical D、The number of columns and data types must be identical for all SELECT statements in the query

在SQLServer数据库中,HAVING和WHERE子句以及GROUPBY可以在同一SELECT语句中使用,其正确的先后顺序为()A、GROUP BY WHERE HAVINGB、WHE REGROUP BY HAVINGC、WHE REHAVING GROUP BYD、HAVING WHERE GROUP BY

Which three statements are valid SDM configuration wizards? ()A、NATB、VPNC、STPD、Security Audit

Which of these appropriately describes the results of a manual SQL Tuning Advisor task?()A、A list of SQL statements and recommendations for tuningB、A list of SQL statements that have been tuned by the Advisor, with before and after metricsC、Graphs showing the actual performance improvement made by the Advisor after it implemented the recommended changesD、All of the above

Which is the source used by Automatic SQL Tuning that runs as part of the AUTOTASK framework?()A、 SQL statements that are part of the AWR baseline onlyB、 SQL statements based on the AWR top SQL identificationC、 SQL statements that are part of the available SQL Tuning Set (STS) onlyD、 SQL statements that are available in the cursor cache and executed by a user other than SYS

Which two statements are true about standard database auditing()A、DDL statements can be audited.B、Statements that refer to stand-alone procedure can be audited.C、Operations by the users logged on as SYSDBA cannot be audited.D、Only one audit record is ever created for a session per audited statement even though it is executedmore than once.

Which component does the SQL Tuning Advisor NOT analyze for the SQL statements?()  A、ADDMB、AWRC、Cursor CacheD、SQL Tuning SetsE、Flash Recovery Area

多选题If p and q are primes greater than 2, which of the following statements must be true? (Indicate all such statements.)Ap + q is evenBpq is oddCp2-q2 is even

多选题Concerning the figure below, if a =b, which of the following statements must be true? (Indicate all such statements.)Ac=dBl and k are parallelCm and l are perpendicular

多选题Which of the following statements are true? (Indicate all such statements.)Aτ(5) =τ(7)Bτ(5) τ(7) =τ(35)Cτ(5) + τ(7) =τ(12)

多选题下列属于知识管理处理的内容是()AKnow-whA.tBKnow-whE.nCKnow-howDKnow-whoEKnow-why

单选题Which statement is true when you run the SQL Tuning Advisor with limited scope?()AAccess path analysis is not performed for the SQL statements.BSQL structure analysis is not performed for the SQL statements.CSQL Profile recommendations are not generated for the SQL statements.DThe staleness and absence of the statistics are not checked for the objects in the query supplied to the SQL Tuning Advisor.

多选题Which are DML statements? ()ACOMMITBMERGECUPDATEDDELETEECREATEFDROP...

多选题Which two statements are reserved words in Java?()ARunBImportCDefaultDImplement

单选题Which of the following statements is NOT a way of consolidating vocabulary?ADefining.BMatching.CGap-filling.DLabeling.

多选题Which are DML statements? ()ACOMMITBMERGECUPDATEDDELETEECREATEFDROP

单选题For the following statements, which one is the strongest symmetrical encryption algorithm?()AAESB3DESCDESDDiffie-Hellman

单选题Which of the following statements is correct concerning the “flash point ” of a liquid?()AIt is lower than the ignition temperatureBIt is the temperature at which a substance will spontaneously igniteCIt is the temperature at which a substance, when ignited, will continue to bumDIt is the temperature at which the released vapors will fall within the explosive range

多选题Which three statements about subqueries are true? ()AAsinglerowsubquerycanretrieveonlyonecolumnandonerow.BAsinglerowsubquerycanretrieveonlyonerowbutmanycolumns.CAmultiplerowsubquerycanretrievemultiplerowsandmultiplecolumns.DAmultiplerowsubquerycanbecomparedusingthe;;;operator.EAsinglerowsubquerycanusetheINoperator.FAmultiplerowsubquerycanusethe;=;operator.

单选题Which is the source used by Automatic SQL Tuning that runs as part of the AUTOTASK framework?()A SQL statements that are part of the AWR baseline onlyB SQL statements based on the AWR top SQL identificationC SQL statements that are part of the available SQL Tuning Set (STS) onlyD SQL statements that are available in the cursor cache and executed by a user other than SYS

单选题Which component does the SQL Tuning Advisor NOT analyze for the SQL statements?()AADDMBAWRCCursor CacheDSQL Tuning SetsEFlash Recovery Area

单选题Which of the following statements is true regarding the VERSIONS BETWEEN clause?()A The VERSIONS BETWEEN clause may be used in DML statements.B The VERSIONS BETWEEN clause may be used in DDL statements.C The VERSIONS BETWEEN clause may not be used to query past DDL changes to tables.D The VERSIONS BETWEEN clause may not be used to query past DML statements to tables.