interface class java

Java Interface Multiple Inheritance

An interface in Java gives a template of methods where the implementation or body for the methods is missing. The body or implementation is given by the sub classes in the way they think most appropriate. For example, I would like to prepare curry to take in my dinner. Imagine…