English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

2007-03-07 02:08:32 · 4 answers · asked by guy with many questions 2 in Computers & Internet Programming & Design

4 answers

Absolutely. Here is an example:

public interface TestInterface extends FileFilter, Map {
}

In this example, a class implementing TestInterface will need to implement everything in FileFilter and Map.

2007-03-07 02:17:06 · answer #1 · answered by animate123 1 · 0 0

actually java does not allow multiple inheritance for classes.
but it is implemented using the interfaces

2007-03-07 02:18:37 · answer #2 · answered by chaitanya_ckr 1 · 0 0

Yes, saw it on book, but just try, implement Serializable tagging interface and one of the AWT event listeners and see if it compiles.

2007-03-07 02:17:03 · answer #3 · answered by Andy T 7 · 0 0

Yes

2007-03-07 02:14:46 · answer #4 · answered by Meg W 5 · 1 0

fedest.com, questions and answers