McqMate
Sign In
Hamberger menu
McqMate
Sign in
Sign up
Home
Forum
Search
Ask a Question
Sign In
McqMate Copyright © 2026
→
Bachelor of Computer Applications (BCA)
→
Java Programming
→
A single-line comment begins with a ____...
Q.
A single-line comment begins with a ________ and ends at the end of the line.
A.
/ .
B.
// .
C.
/* .
D.
**.
Answer» B. // .
1.6k
0
Do you find this helpful?
14
View all MCQs in
Java Programming
Discussion
No comments yet
Login to comment
Related MCQs
What is the correct JavaScript syntax to insert a comment that has more than one line?
Java language has support for which of the following types of comment ?
______ must be the first non comment statement in the file.
Which of the following denotes a javadoc comment?
What output is displayed as the result of executing the following statement?System.out.println ("// Looks like a comment.");
Which of these values is returned by read () method is end of file (EOF) is encountered?
Which method would you most likely use to add an element to an end of a vector?
The AWT component used to display a single line of read-only text
Which is a one-way communication only between the client and the server and it is not a reliable and there is no confirmation regarding reaching the message to the destination?
What will be the result of the expression : a % b~~~when a and b are of type int and their values are a = -17 and b = -6?