adplus-dvertising
frame-decoration

Question

Single line comment starts with _________ in Java.

a.

/**

b.

//

c.

/*

d.

None of these

Posted under Java Programming

Answer: (c)./*

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Single line comment starts with _________ in Java.
Sunil : June 26, 2023

Answer is "//" not "/*".

"/*" this is for multi-line comment