0
What's the output for the following documentation comment?
/**I'm confused*/
8 Respostas
+ 2
happy to help
+ 2
comments are not executed....
+ 2
same answer... comments are for code readability and not executed
+ 2
that's also correct.. but the fact remains same that it's for code readability and output doesn't differ due to comment..
you may refer below if it interests you :
https://docstore.mik.ua/orelly/java-ent/jnut/ch07_03.htm
+ 1
Thanks for sharing your thoughts
0
What if the comment is mentioned like below?
/**********I'm still confused********/
0
But the lesson says the following:
Documentation comments are special comments that have the appearance of multi-line comments, with the difference being that they generate external documentation of your source code. These begin with a forward slash followed by two asterisks, and end with an asterisk followed by a forward slash.
0
Here's the example of the lesson:
/**********************
This is the start of a method
***********************/