In Java code, the line that begins with /* and ends with */ is known as?
Question
In Java code, the line that begins with /* and ends with */ is known as?
Solution
In Java code, the line that begins with /* and ends with */ is known as a multi-line comment. This type of comment can span multiple lines, as opposed to single-line comments which begin with // and only apply to the line they are on. Multi-line comments are used to provide more detailed explanations or to temporarily remove a block of code.
Similar Questions
Which character is used to concatenate strings in Java?*1 point*/&+
What are unique names used to identify variables in Java called?*
Which of the following is used to comment a single-line in a C Program?Select one:*////*+/
What is the Java term for a binary form of code?*
Mention the standard signature of the main() method in Java.*
Upgrade your grade with Knowee
Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.