I am reading Java: The Complete Reference, Eleventh Edition, 11th Edition by Herbert Schildt and couldn't really understand what the author mean by the following text:
When it is declared as public, the interface can be used by code outside its package. In this case, the interface must be the only public interface declared in the file, and the file must have the same name as the interface.