• Post Reply Bookmark Topic Watch Topic
  • New Topic

page 503 in HFSJ

 
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 ...
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!