Can a class implement 2 interfaces?

Your class can implement more than one interface , so the implements keyword is followed by a comma-separated list of the interfaces implemented by the class.

Leave a Reply

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

Can a class implement 2 interfaces?

Your class can implement more than one interface , so the implements keyword is followed by a comma-separated list of the interfaces implemented by the class.

Leave a Reply

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