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.
About Question enthuware.ocpjp.v7.2.1100 :
Moderator: admin
-
- Posts: 20
- Joined: Tue Nov 04, 2014 1:13 am
- Contact:
-
- Site Admin
- Posts: 10066
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocpjp.v7.2.1100 :
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.
-Paul.
If you like our products and services, please help us by posting your review here.
-
- Posts: 20
- Joined: Tue Nov 04, 2014 1:13 am
- Contact:
Re: About Question enthuware.ocpjp.v7.2.1100 :
Sorry! My mistake.
Who is online
Users browsing this forum: No registered users and 205 guests