单项选择题
A.JEdit B.JButton C.JPanel D.JTextField
A.可被其它程序包中的类使用 B.仅能被本程序包中的类使用 C.不能被任意其它类使用 D.不能被其它类继承
A.int[] ia= new int [15]; B.float fa= new float [20]; C.char[] ca= “Some String”; D.int ia [][]= {4,5,6} {1,2,3};
类Test1定义如下: 1.public class Test1{ 2. public float aMethod(float a,float b){ return 0;} 3. 4.} 将以下哪种方法插入行3是不合法的。()
A.public float aMethod(float a, float b,float c){ return 0;} B.public float aMethod(float c,float d){ return 0;} C.public int aMethod(int a, int b){ return 0;} D.private float aMethod(int a,int b,int c){ return 0;}
微信扫一扫,加关注免费搜题