I started over with reading my certification book, and I'm now on page 113. It says that an interface can extend one or more other interfaces.....I thought you could only extend one thing, or do they mean the interfaces that the extended interface extended?
server_crash
64
Postaholic
Recommended Answers
Jump to PostClasses can extend only 1 other class (as well as implementing any number of interfaces).
Interfaces can extend any number of other interfaces (but can't implement anything obviously).So you can have something like
public interface MyInterface extends List, Serializable, Comparable { //... method declarations }
All 3 Replies
jwenting
1,889
duckman
Team Colleague
server_crash
64
Postaholic
jwenting
1,889
duckman
Team Colleague
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.