下面()是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

相关考题:

A comment ( ) a nice day.

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注释

下列哪项是Java语言中所规定的注释样式?()A、//单行注释B、--单行注释C、  /* *单行或多行注释 */D、  /kk *文档注释 */

程序编辑界面的EDCMD选项中,Comment的功能是显示和隐藏注释。

下列对于程序文件描述正确的有:()A、“Comment”显示注释B、“Writeprotection”显示写保护状态C、“Modificationdate”显示最后一次编辑时间D、“ProgramSize”显示程序大小

下面()标记不能达到筛选数据的作用。A、xsl:ifB、xsl:chooseC、$lt$D、xsl:comment

XML中的注释(COMMENT)用来对程序进行解释说明,XML处理器不对它们进行任何处理,那么在XML中对文本进行注释的正确方法是()。A、/*文本*/B、//文本C、%文本D、!--文本--

下列是Java语言中可用的注释符,其中错误的是()。A、//B、/**…*/C、/**…**/D、/*…*/

在Java语言中,不能注释多行内容的符号是()。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--

如何在 JavaScript 中添加注释?()A、 ' This is a comment B、 !--This is a comment-- C、 //This is a comment

在CSS样式文件中的注释正确的是()。A、// this is a comment //B、// this is a commentC、/* this is a comment */D、/’ this is a comment

如何在JavaScript中添加注释?()A、' This is a commentB、!--This is a comment--C、//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!--文本--

单选题如何在 JavaScript 中添加注释?()A ' This is a comment B !--This is a comment-- C //This is a comment

单选题在CSS样式文件中的注释正确的是()。A// this is a comment //B// this is a commentC/* this is a comment */D/’ this is a comment

多选题下列哪项是Java语言中所规定的注释样式?()A//单行注释B--单行注释C/* *单行或多行注释 */D/kk *文档注释 */

单选题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--