Can we access a static method of an interface by using reference of the interface?

No, a static method of interface has to be invoked by using the name of the interface.

Leave a Reply

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