[OT] Re: Why interface

2005-08-10 Thread Jerry Tan
At the end of the day, some would say there's really no functional difference between the two. But as for a preference for interfaces, well, partly it's due to the limitation of single inheritance in Java. Using interfaces provides the functionality of acting as a derivative of multiple base clas

[OT ]Re: Why interface

2005-08-10 Thread DGraham
"Program to an interface, not an implementation." #1 principle from GoF. Here's a recent interview with Erich Gamma: http://www.artima.com/lejava/articles/designprinciples.html -Dennis Carl Smith <[EMAIL PROTECTED]> 08/10/2005 10:47 AM Please respond to "Struts Users Mailing List" To S