Interface Variables must be Final

Java-Interface Variables must be Final

Interface Variables must be Final An interface does not have instance variables. The members of an interface are always declared as static and final, that the variable cannot be modified by the methods in the class. Such variables will be inherited by the class that implements the interface. Program Program Source interface Data { int … Read more…