수정자 (public protected private),final,static 사이에 선후 순서가 없음

588 단어 protected
/**
 *    (public protected private ),final ,static        
 * @author Administrator
 *
 */
public class Demo20 {
    protected final int w = 0 ;
	public final int i = 1;
	final public int j = 0 ;//final  public      
	final static public int g = 0;
	public final static int f= 0 ;
	static final public int h = 0;
	
	
	/**
	 * @param args
	 */
	public static void main(String[] args) {
		// TODO Auto-generated method stub

	}

}

좋은 웹페이지 즐겨찾기