• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

phillip heller book

 
ravi ckumar
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A component subclass that has executed enableEvents() to enable processing of a certain kind of event cannot also use an adapter as a listener for the same kind of event.
A. True
B. False
I feel that the answer to the above is false but in phillip heller book it was given as true, my reason is when u are using the enableEvents mechanism u r already extendimg to the component like button etx how can u again extend to any other adapter class as java does not allow multiple inheritance.??
Also can any body tell me the site where the phillip heller book errata is availabe(pls i need the url)
 
rajani peddi
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ravi ckumar,
i don't know which book of R&H you follow but in my book(old version) the answer given is false.
rajani
 
ravi ckumar
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello rajani,

can u pls pass on the explanation he gave for the answer being False, thank u

also im asking again does any one have the errata of the phillip heller book , i saw an url pointing to it at some web site i could not get it again pls help!!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic