Computer Science, asked by Yesthat, 1 year ago

how can comments be inserted in a java program

Attachments:

Shivang001: plzz mark it as brainliest
Shivang001: tnxx

Answers

Answered by Shivang001
3
u can insert comments in java by preceding any phrase,sentence or word with // or /* phrase */
hope it helps
Answered by YASHIKAJINDAL
3
Single line comment begins with// and ends with a line.
Multiline comment begins with /* and ends with */that spans multiple lines

Comments are added in the code to provide information about the code.

HOPE IT WILL HELP U
PLEASE MARK IT AS BRAINLIEST ANSWER

YASHIKAJINDAL: after seeing my answer u like his answer
Similar questions