codecrafty.site

Learn to code with the world’s largest web developer site!

HTML

CSS

JAVA

JavaScript

SQL

PYTHON

KORTLIN

Java & JavaScript Comments Quiz

Test Your Java & JavaScript Skills: Beginner’s Quiz

1 / 5

Which symbol is used for a single-line comment in Java and JavaScript?

2 / 5

Which symbols are used for multi-line comments in Java and JavaScript?

3 / 5

Which of the following is a correct single-line comment in JavaScript?

4 / 5

What happens to comments when the program runs?

5 / 5

Why are comments used in Java and JavaScript?

Your score is

The average score is 0%

0%

Scroll to Top