Java--static interface
http://stackoverflow.com/questions/8374646/what-is-a-static-interface-in-java
http://stackoverflow.com/questions/71625/why-would-a-static-inner-interface-be-used-in-java
Static inner interface and inner interface is the same, all access rules are the same as with inner static class. So inner interface can be accessible only if you have access to its parent class/interface. In case below you will have access to interface B only from package of interface A, because A has default access modifier. BTW: interface B could be static or not.
interface A { void testA(); public interface B { void testB(); } }
The static modifier is only allowed on a nested classes or interfaces. 
    出处:http://cnblogs.com/daishuguang
 
                     
                    
                 
                    
                
 
                
            
         
         浙公网安备 33010602011771号
浙公网安备 33010602011771号