A. interface A {void print(){};} B. abstract interface A {void print();} C. abstract interface A extends J1, J2{ //J1、J2是已定义的接口abstract void print(){};} D. interface A {void print();}
A. 1 B. 2 C. 3 D. 4
A. Shape shape = new Shap(); B. TwoDemension circle = new Circle(); C. Shape shape = new TwoDemension(); D. TwoDemension triangle = new Triangle();
A. Constants con = new Constants(); B. Constants.MAX = 100; C. int i = Constants.MAX - Constants.MIN; D. Constants.MIN>0
A. public B. pirvate C. protected D. static