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
/** comment */ is not an acceptable way of indicating comments in java
bcoz there are two types of comments 1) Single Line(// This is a Comment example) 2)Multiple Line (/* This is another Example*/)
I want to give ans of another ques but it is Incomplete. Please provide complete question
/** 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.
Join our real-time social learning platform and learn together with your friends!