网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
下面()是JAVA语言中的有效注释。
- A、/this is a comment/
- B、--this is a comment
- C、this is a comment
- D、/--this is a comment
参考答案
更多 “下面()是JAVA语言中的有效注释。A、/this is a comment/B、--this is a commentC、this is a commentD、/--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--
考题
如何在 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
考题
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
考题
单选题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?A
Comment 1 and Comment 2.B
Comment 3 and Comment 5.C
Comment 1 and Comment 7.D
Comment 4 and Comment 6.
考题
单选题下面()是JAVA语言中的有效注释。A
/this is a comment/B
--this is a commentC
this 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--
热门标签
最新试卷