Examlex

Solved

Consider the Following Code Snippet: If the Programmer Class

question 29

Multiple Choice

Consider the following code snippet: Consider the following code snippet:   If the Programmer class inherits from the Employee class, and only the Employee class has an implementation of the increaseSalary method, which statement is correct?  A) The increaseSalary method call will cause a run-time error. B) The increaseSalary method of the Employee class will be executed. C) The Programmer class is required to provide an implementation of the increaseSalary method. D) Programmer objects must be cast to Employee objects before the method call can me made. If the Programmer class inherits from the Employee class, and only the Employee class has an implementation of the increaseSalary method, which statement is correct?


Definitions:

Par Value

Par value is the nominal or face value of a bond, stock, or other financial instrument, as stated by the issuer.

Common Stock

Shares of ownership in a corporation that entitle the shareholder to a share of the company’s profits and a right to vote on company matters.

Consolidation Worksheet

A tool used in preparing consolidated financial statements that combines the assets, liabilities, and equity of a parent company and its subsidiaries.

Par Value

The nominal or face value of a bond, share of stock, or another financial instrument, as stated by the issuing company.

Related Questions