Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

a tricky statement

 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How do you think about the following statement,true or false?
The return value from a listner is used to control the invocation of other listners.
 
Ajith Kallambella
Sheriff
Posts: 5782
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
rose,
Nothing tricky about it! The answer is false.
All the methods on all listener interfaces are void methods which means they don't return anything.
Ajith
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic