The Artima Developer Community
Sponsored Link

Java Answers Forum
TIJ Example c08:Callbacks.java

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Andrew

Posts: 1
Nickname: amoores
Registered: May, 2005

TIJ Example c08:Callbacks.java Posted: May 6, 2005 9:09 AM
Reply to this message Reply
Advertisement
Hi,

I'm studying for the JCSP exam and using Bruce Eckels Thinking In Java 3rd addition as a study aid. I'm trying to get my head around inner classes. I've looked at the Callbacks.java program on p358 in detail but I can't make any sense of the comment "When MyIncrement is inherited into Callee2, increment() can't be overridden for use by Incrementable, ..." on p359. (Obviously only people who own the book will be able to help me, but luckily Mr Eckel provides a free electronic copy on his web site! I liked the book so much I bought a 'real' copy as well ...)

Firstly the Callee2 class can implement the Incrementable interface and give the required functionality.

Secondly I just don't see what Bruce is getting at in this example.

Can anyone explain this to me? Or, if its been discussed before, point me to the answer?

Thanks
Andrew

Topic: KeyTyped Event Previous Topic   Next Topic Topic: NetBeans - compile parameters

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use