go to previous page   go to home page   go to next page highlighting

Answer:

Yes.


More about Interfaces

A class can implement several interfaces:

class SomeClass extends SomeParent implements InterfaceA, InterfaceB, InterfaceC
{

}

Now SomeClass must implement (or inherit) all the methods listed in all the interfaces.


QUESTION 24:

Could several interfaces define the same constant?


go to previous page   go to home page   go to next page