<!-- this is a comment -->
<% // this is a comment %>
<%-- this is a comment --%>
<% /** this is a comment **/ %>
第1题:
publicclassPerson{privateStringname,comment;privateintage;publicPerson(Stringn,inta,Stringc){name=n;age=a;comment=c;}publicbooleanequals(Objecto){if(!(oinstanceofPerson))returnfalse;Personp=(Person)o;returnage==p.age&&name.equals(p.name);}}WhatistheappropriatedefinitionofthehashCodemethodinclassPerson?()
A.returnsuper.hashCode();
B.returnname.hashCode()+age*7;
C.returnname.hashCode()+comment.hashCode()/2;
D.returnname.hashCode()+comment.hashCode()/2-age*3;
第2题:
下列正确地在CSS文件中插入注释的语句是( )。
A.//this is a comment
B.//this is a comment//
C./*this is a comment*/
D.this is a comment
第3题:
A comment ( ) a nice day.
第4题:
如何在CSS文件中插入注释()
第5题:
A. comment out telnetd in /etc/services refresh -s inetd
B. comment out telnetd in /etc/inetd.conf refresh -s inetd
C. comment out telnetd in /etc/rc.tcpip refresh -s telnetd
D. comment out telnetd in /etc/inetd.conf refresh -s telnetd
第6题:
A.returnsuper.hashCode();
B.returnname.hashCode()+age*7;
C.returnname.hashCode()+comment.hashCode()/2;
D.returnname.hashCode()+comment.hashCode()/2-age*3;
第7题:
A.CONTROL
B.UPDATE
C.USAGE
D.ALTER
第8题:
A.returnsuper.hashCode();
B.returnname.hashCode()+age*7;
C.returnname.hashCode()+comment.hashCode()/2;
D.returnname.hashCode()+comment.hashCode()/2-age*3;
第9题:
下面()是JAVA语言中的有效注释。
第10题:
()速个命令执行后开始备份注册表,速度很快,备份结束出现DOS默认的提示符号