There can be situation where an Interface needs to be implemented by a class which is in different package as that of interface. But here the implementing class should have access to methods inside the interface.So we give public access specifier for class inside interface by default .
In implements clause , U can specify interface name with complete package extension (, which is not possible in case of methods) .
class ABC implements com.ex.InterfaceEx
Thank You ,