Ask your own question, for FREE!
Computer Science 18 Online
OpenStudy (anonymous):

Which of the following is not an acceptable way of indicating comments in java and briefly explain why? /** comment */ // comment /* comment */ // comment comment /*comment comment*/ 3. Modify this program so that it prints out Goodbye Weekend! instead of Hello World! /** * The HelloWorldApp class implements an application that * simply displays "Hello World!" to the standard output. */ class HelloWorldApp { public static void main(Str

OpenStudy (anoop27):

/** comment */ is not an acceptable way of indicating comments in java

OpenStudy (anoop27):

bcoz there are two types of comments 1) Single Line(// This is a Comment example) 2)Multiple Line (/* This is another Example*/)

OpenStudy (anoop27):

I want to give ans of another ques but it is Incomplete. Please provide complete question

OpenStudy (s3a):

/** comment */ is not an acceptable way because that comment is designed to be used by the javadoc tool to document the API of the code you're creating.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!