Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

page 503 in HFSJ  RSS feed

 
nagalatha mitta
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi friends
I have a dought: in page 503 of HFSJ -Making a Simple tag handler-2nd ponit says:Implement the doTag() method-my dought is -it should be 'override' not 'Implement' ,because we are extending a class not implementing a interface?any suggestions on this let me know


thanks in advance
 
Vassili Vladimir
Ranch Hand
Posts: 1585
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

You are extending the SimpleTagSupport class which implements the SimpleTag interface, got it ?

It is an override actually, but see the class diagram in page 520 and you'll get it ...

Best of luck ...
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!