What are the advantages of an interface in java?
What is the importance of interfaces in java?