An inner class to an interface will be static and public by default.
interface Port {
// Methods & Constants declared in the interface...
class Info {
// Definition of the class...
}
}
public class MainClass {
public static void main(String[] a) {
Port.Info info = new Port.Info();
}
}