Q.

What is the correct JavaScript syntax to insert a comment that has more than one line?

A. <!--This comment has more than one line-->
B. /*This comment has more than one line*/
C. //This comment has more than one line//
D. <//This comment has more than one line//>
Answer» B. /*This comment has more than one line*/
867
0
Do you find this helpful?
3

View all MCQs in

Java Programming

Discussion

No comments yet