About Question enthuware.ocpjp.v7.2.1100 :

Help and support on OCA OCP Java Programmer Certification Questions
1Z0-808, 1Z0-809, 1Z0-815, 1Z0-816, 1Z0-817

Moderator: admin

Post Reply
SepticInsect
Posts: 20
Joined: Tue Nov 04, 2014 1:13 am
Contact:

About Question enthuware.ocpjp.v7.2.1100 :

Post by SepticInsect »

I think your explanation is contradictory.

"Here the anonymous class actually extends from MyListener class and successfully overrides the actionPerformed() method."

Then it does not extend directly from the Object class.

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

Re: About Question enthuware.ocpjp.v7.2.1100 :

Post by admin »

I don't see any contradiction. The explanation is showing you that an anonymous class may directly extend from Object class and it may not also. So the problem statement is false.
-Paul.

SepticInsect
Posts: 20
Joined: Tue Nov 04, 2014 1:13 am
Contact:

Re: About Question enthuware.ocpjp.v7.2.1100 :

Post by SepticInsect »

Sorry! My mistake.

Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests