Newsletter sign-up
View all newsletters

Sign up for our technology specific newsletters.

Enterprise Java
Email Address:
JavaWorld Daily Brew

Great explanation. Thanks a lot!

Back to:
www.javaworld.com/javaworld/javatips/jw-javatip10.html
.

Great explanation. Thanks a lot!

Your rating: None Average: 3.5 (2 votes)

YEAH, THANKS A LOT.. exactly what i needed to know...

YEAH, THANKS A LOT.. exactly what i needed to know.. very easy to understand now.

Best explanation I've read - and I've read a lot of explanations

Best explanation I've read - and I've read a lot of explanations!

Thanks for the tip.

Thanks for the tip.

Cannot instantiate the type

I tried following the example, but I get the error "Cannot instantiate the type InterestingEvent"

Thank you - my first use of interfaces.

Thank you - my first use of interfaces.

Worst explanation

Worst explanation I've read, and (perhap because) this is the first I read about, the example is very confussing, and have no main to test.

To who ever posted "Worst

To who ever posted "Worst Explanation", you clearly have no understanding of how java works. If you go back to the basics of Java programming you'll find the above article very helpful. It's very easy to understand and follow and the examples are quite straight forward.

On the contrary...

@first comment
The copying you mention was 12 years later but was actually the other way round. Check the dates.

Good article

Good article, those who use Java understand me. Fine explanation, thanks!

Think it is good, but need a "main" example

Thank you for this example and explanation. can you please provide a main example.

Worst and incorrect

Why is this still on 13 years later ?

Nice concept

Nice concept to follow. for those who term it "worst explanation" why dont you do your self and the world a favour appreciate attempts made by others to benefit the entire community. This is a community and our responsibility is to continue from where he stopped, dig deeper and find out more as well as the possible pitfalls, which can be communicated back to the community in much more better way than "worst explanation".

Great article

This was the simple explanation i was looking for . Thank you !

Thank you it is very good.

This article is very simple and straight forward about call back methods implementation.I tried it.It's working fine.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Post new comment

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <p> <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <br /> <br> <strike>
  • Lines and paragraphs break automatically.
  • Use <!--pagebreak--> to create page breaks.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.

More information about formatting options

CAPTCHA
Just checking to see if you're an actual person rather than a spammer. Sorry for the inconvenience.