下面()是JAVA语言中的有效注释。A、/this is a comment/B、--this is a commentC、this is a commentD、/--this is a comment
下面()是JAVA语言中的有效注释。
- A、/this is a comment/
- B、--this is a comment
- C、this is a comment
- D、/--this is a comment
相关考题:
publicclassPerson{privateStringname,comment;privateintage;publicPerson(Stringn,inta,Stringc){name=n;age=a;comment=c;}publicbooleanequals(Objecto){if(!(oinstanceofPerson))returnfalse;Personp=(Person)o;returnage==p.agename.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;
下列正确地在CSS文件中插入注释的语句是( )。A.//this is a commentB.//this is a comment//C./*this is a comment*/D.this is a comment
An operator is asked to shutdown the telnet service for security reasons. What are the appropriate commands to achieve this?() A. comment out telnetd in /etc/services refresh -s inetdB. comment out telnetd in /etc/inetd.conf refresh -s inetdC. comment out telnetd in /etc/rc.tcpip refresh -s telnetdD. comment out telnetd in /etc/inetd.conf refresh -s telnetd
下面关于注释的添加方法,正确的是( )。A.//用于单行注释,/*...*/用于多行注释,/**...*/是Java所特有的doc注释B.//用于多行注释,/*...*/用于多行注释,/**...*/是Java所特有的doc注释C.//用于单行注释,/*...*/也用于单行注释,/**...*/不是Java所特有的doc注释D.//用于多行注释,/*...*/用于多行注释,/**...*/是Java所特有的doc注释
下列对于程序文件描述正确的有:()A、“Comment”显示注释B、“Writeprotection”显示写保护状态C、“Modificationdate”显示最后一次编辑时间D、“ProgramSize”显示程序大小
XML中的注释(COMMENT)用来对程序进行解释说明,XML处理器不对它们进行任何处理,那么在XML中对文本进行注释的正确方法是()。A、/*文本*/B、//文本C、%文本D、!--文本--
如何在CSS文件中插入注释()A、//this is a commentB、//this is a comment//C、/*this is a comment*/D、this is a comment
可插入多行注释的 JavaScript 语法是?()A、 /*This comment has more than one line*/ B、 //This comment has more than one line// C、 !--This comment has more than one line--
在CSS样式文件中的注释正确的是()。A、// this is a comment //B、// this is a commentC、/* this is a comment */D、/’ this is a comment
An operator is asked to shutdown the telnet service for security reasons. What are the appropriate commands to achieve this?()A、comment out telnetd in /etc/services refresh -s inetdB、comment out telnetd in /etc/inetd.conf refresh -s inetdC、comment out telnetd in /etc/rc.tcpip refresh -s telnetdD、comment out telnetd in /etc/inetd.conf refresh -s telnetd
The JSP developer wants a comment to be visible in the final output to the browser. Which comment styleneeds to be used in a JSP page?()A、!-- this is a comment --B、% // this is a comment %C、%-- this is a comment --%D、% /** this is a comment **/ %
单选题XML中的注释(COMMENT)用来对程序进行解释说明,XML处理器不对它们进行任何处理,那么在XML中对文本进行注释的正确方法是()。A/*文本*/B//文本C%文本D!--文本--
单选题在CSS样式文件中的注释正确的是()。A// this is a comment //B// this is a commentC/* this is a comment */D/’ this is a comment
单选题The JSP developer wants a comment to be visible in the final output to the browser. Which comment styleneeds to be used in a JSP page?()A!-- this is a comment --B% // this is a comment %C%-- this is a comment --%D% /** this is a comment **/ %
单选题Among all the comments, which of the following choices brings in authoritative sources in their discussion?AComment 1 and Comment 2.BComment 3 and Comment 5.CComment 1 and Comment 7.DComment 4 and Comment 6.
单选题下面()是JAVA语言中的有效注释。A/this is a comment/B--this is a commentCthis is a commentD/--this is a comment
单选题可插入多行注释的 JavaScript 语法是?()A /*This comment has more than one line*/ B //This comment has more than one line// C !--This comment has more than one line--