首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
类Test定义如下,将下列哪个方法插入③行处是不合法的? ( ) ①public class Test { ②public float Method(float a,float b){} ③ ④}
类Test定义如下,将下列哪个方法插入③行处是不合法的? ( ) ①public class Test { ②public float Method(float a,float b){} ③ ④}
admin
2009-02-15
20
问题
类Test定义如下,将下列哪个方法插入③行处是不合法的? ( ) ①public class Test { ②public float Method(float a,float b){} ③ ④}
选项
A、public float Method(float a,float b,float c){}
B、public float Method(float c,float d){}
C、public int Method(int a,int b){}
D、private float Method(int a,int b,int c){}
答案
2
解析
转载请注明原文地址:https://kaotiyun.com/show/njnp777K
本试题收录于:
二级Java题库NCRE全国计算机二级分类
0
二级Java
NCRE全国计算机二级
相关试题推荐
假设表单上有一选项组:⊙男。〇女,如果选择第2个按钮“女”,则该选项组Value属性的值为
下面程序的运行结果是SETEXACTONs="ni"+SPACE(2)IFs=="ni"IFs="ni"?"one"ELSE?"two"ENDIFELSEIFs="ni"?"three"ELSE?"four"ENDIF
下列程序段执行后,内存变量e的值是a=10b=20c=30d=IIF(a>b,a,b)e=IIF(c>d,c,d)
在命令按钮组中,决定命令按钮数目的属性是
在VisualFoxpro中,可视类库文件的扩展名是
使用如下数据表:学生.DBF:学号(C,8),姓名(C,6),性别(C,2),出生日期(D)选课.DBF:学号(C,8),课程号(C,3),成绩(N,5,1)假定学号的第3、4位为专业代码,要计算各专业学生选修课程号为“101”课程的平均成绩,正确的S
下面描述中错误的是
下表是用list命令显示的“运动员”表的内容和结构,以下小题使用该表。计算每名运动员的“得分”(33题增加的字段)的SQL语句正确的是()。
打开考生文件夹下的DB数据库,完成如下基本操作:使用报表向导建立一个简单报表。要求选择TABA中的所有字段;记录不分组;报表样式为随意式;列数为1,字段布局为“列”,方向为“横向”;排序字段为NO,升序;报表标题为“计算结果一览表”;报表文
下列方法中可以用来创建一个新线程的是______。
随机试题
马克思主义同中国实际相结合的第一次历史性飞跃的理论成果是()
心绞痛发生的原因和诱因不包括
工厂所需大宗原材料、燃料等从厂外直接运至车间或料库的目的是()。
项目经理与部门经理的工作在哪些方面不同?()。
下列关于书面声明的说法中,不正确的有()。
我国企业会计要素中的费用是指()。
从所给的四个选项中,选择最合适的一个填入问号处,使之呈现一定的规律性。
A、 B、 C、 D、 D题干每个图形中都有三角形,选项中只有D项符合。
论述法律解释的必要性。
Whenitcomestotheslowingeconomy,EllenSpiroisn’tbitinghernailsjustyet.Butthe47-year-oldmanicuristisn’tcutting,
最新回复
(
0
)