• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Implementing function call-bak in JAVA ?

 
Agnes Hyndman
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I was recently asked how to implement function call-back in JAVA. My answer was to use Observer/Observable interfaces.
Is this answer correct ? Is there a way to do it without using interfaces ?
Thanks for the input !
 
Mark Herschberg
Sheriff
Posts: 6037
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This forum walks a fine line. In this cause, while undoubtedly an interview question, I think it's more appropriate for a different forum, specifically, Java In General (Adv), so I'm moving it there.
--Mark
 
Sridhar Garimella
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Go to this link
http://www.javaworld.com/javaworld/javatips/jw-javatip10.html
--Sridhar Garimella
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic