Yes, only interfaces can extend other interfaces. Classes implement interfaces, they don't extend them.
Yes, only interfaces can extend other interfaces. Classes implement interfaces, they don't extend them. The purpose of an interface which extends another interface is to show that SortedSet is an extension of the Set interface.
SortedSet is a Set, with additional operations.
And as such, you can do something like Set someSet = new TreeSet(); ignoring that it's a SortedSet in the process. – Jacob Marley Mar 18 '10 at 15:29.
The benefit is the same as for interfaces in general: specifying a contract. Interface hierarchies basically just save you some typing and prevent unintentional mismatches: SortedSet doesn't have to repeat the methods in Set, and there is no risk to end up with the same functionality in slightly different methods. Would it be fair to say that if some class is EXTENDING an interface then that class SHOULD/MUST be an interface?
MUST would be correct. Classes cannot extend interfaces, only implement them.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.