Comments in Java Program must begin with /* and end with */

A) True
B) False

Showing Answers 1 - 3 of 3 Answers

Talman

  • Apr 3rd, 2006
 

not necessary.there are 3 types of comments available in java.

this restriction is only for multiline comments. this is not the case for single line and documentation comments

  Was this answer useful?  Yes

I got 29/30 and the only wrong answer was this which i think is incorrect evaluation

because java inline coments can also begin with //

so please reframe the question and remove the word "must begin" and replace the term by "can begin"

Regards

H.Sridhar

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions