接口

以下程序插入代码的修饰符是    A B D

 1 public interface LIMIT {
 2   /*insert code here*/ int ALLOW_LIMT=10;
 3      final static public int  ALLOW_LIMT1=10;
 4      static final public int  ALLOW_LIMT2=10;
 5      static public final int  ALLOW_LIMT3=10;
 6      
 7       public  int  ALLOW_LIMT4=10;
 8      static  final int  ALLOW_LIMT5=10;
 9   
10 }
11 
12 A   final
13 B   static
14 C   native
15 D   public
16 E   private
17 F   abstract
18 G   protected
19 接口字段的修饰符只  允许使用   "共用","静态","终态"

 

posted @ 2018-10-23 22:59  雪落无痕1  阅读(109)  评论(0编辑  收藏  举报