About Question enthuware.ocajp.i.v8.2.1478 :

All the posts and topics that contain only an error report will be moved here after the error is corrected. This is to ensure that when users view a question in ETS Viewer, the "Discuss" button will not indicate the presence of a discussion that adds no value to the question.

Moderators: Site Manager, fjwalraven

Post Reply
dangelob
Posts: 1
Joined: Wed May 06, 2015 3:24 pm
Contact:

About Question enthuware.ocajp.i.v8.2.1478 :

Post by dangelob »

In this question the correct answer is B but maybe I've not understand something.

The answer say
It will compile if class BankAccount is marked abstract.
but we have

Code: Select all

Account acct = new BankAccount();
and, by definition, an abstract class can never be instantiated.

Is it correct?

Regards

admin
Site Admin
Posts: 10386
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.ocajp.i.v8.2.1478 :

Post by admin »

You are right. This is a mistake. The option has been changed to "It will compile if class BankAccount provides an implementation for getId method."

thank you for your feedback!
Paul.

Post Reply

Who is online

Users browsing this forum: No registered users and 13 guests