Montag, 27. Oktober 2008

java interface wiki

EE3206/EE5805 Java Programming and Applications

From Savitch's Absolute Java (2 ed. 2006), p.711-713, " An inteface is a type that can be satisfied by any class that implemetns the interface."

"An interface is a type. This allows you to write a method with a parameter of an interface type, ... and that parameter will accept as an argument any class you later define that implements the interface."



Keine Kommentare: