 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
| • |
Since
an interface has no memory and has not
|
|
|
implementation,
|
|
|
|
– |
There
is nothing that prevents us from having classes
|
|
implement
more than one interface!
|
|
|
|
– |
If
you inherit from a non-interface, you can inherit
|
|
|
from
only one
|
|
|
|
– |
The
“extended” class comes first and the
|
|
|
implementation
of interfaces must come second, in a
|
|
|
class
doing both:
|
|
|
|
class
ordered_list extends list
|
|
|
|
implements
one, two, three { ….}
|
|