Examlex

Solved

If You Do Not Want Subclasses to Be Able to Provide

question 25

Multiple Choice

If you do not want subclasses to be able to provide new implementation details, you can add the keyword ____ to methods. Doing so keeps derived classes from being able to override the method.


Definitions:

Portfolio

A blend of financial contributions, featuring stocks, bonds, market commodities, ready money, and equivalents of cash, comprising also mutual funds and ETFs.

Stocks

Shares of ownership in a corporation or financial asset, which represent a claim on the company's earnings and assets.

Investment

Allocation of resources, such as time, money, or effort, in the expectation of generating a future benefit or return.

Composed

Implies being made up of multiple parts or elements; in the context of data, it may refer to a dataset composed of different types of information.

Related Questions