Link Details

Link 70199 thumbnail
User 111696 avatar

By bloid
via blogs.sun.com
Published: Mar 13 2008 / 10:55

A typical example shown to explain the use of extends has to do with drawing shapes. Instead, this tech tip will use an example that uses Swing components so that you do not have to create extra new classes. In a very limited case, the class hierarchy for Swing button components is shown here, with Object as the real root
  • 15
  • 0
  • 1002
  • 446

Comments

Add your comment
User 236137 avatar

dzonelurker replied ago:

0 votes Vote down Vote up Reply

Wildcards and Extends obfuscate the code. I would avoid them unless absolutely necessary.

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.