twc
Posts: 129
Nickname: twc
Registered: Feb, 2004
|
|
Re: interfaces
|
Posted: Apr 27, 2004 7:03 AM
|
|
>A interface has no super class, so there is no restriction how and where to use it.
This isn't entirely correct. Some interfaces do have super/sub interfaces. For example, java.awt.ItemSelectable is a super-interface for javax.swing.ButtonModel. LayoutManager and LayoutManager2 are also related through inheritance (LayoutManager2 is the sub-interface).
However, MOST interfaces do not have super or sub interfaces.
|
|