자바 정책 설계 모드

584 단어 자바
public class TestMain {
	/**
	 * @param args
	 *     
	 *              ,            public final  static     
	 * public final static Jia jia = new Jia();
	 * public final static Jian jian = new Jian();
	 * public final static Cheng cheng = new Cheng();
	 * public final static Chu chu = new Chu();
	 *      extends              public abstract void oper(float a,float b);
	 */
	public static void main(String[] args) {
		Calc c = new Calc();
		c.jia.oper(1,1);
	}
}

좋은 웹페이지 즐겨찾기