Can Interface implement another Interface

Can Interface implement another Interface

Answer: Interface can only extends another interface. If you try implements you will see below error:

Multiple markers at this line
	- Syntax error on token "implements", extends expected
	- The type ABC cannot be a superinterface of AInterface; a superinterface must be an

 

Leave a Reply

Your email address will not be published. Required fields are marked *