Question: what am i doing wrong Tasks Program outputs require.... > Comments.java + 1 class Comments { 2 public static void main(String[] args) { 3 System.out.println(Program
what am i doing wrong
Tasks Program outputs require.... > Comments.java + 1 class Comments { 2 public static void main(String[] args) { 3 System.out.println("Program comments are nonexecutin statements you add to a file for documentation."); V Program contains required comments 4 6,67 out of 10.00 2 out of 3 checks passed. Review the results below for more details. 5 1/(single-line comment) Program comments are nonexecuting statement you add to file for documentation 6 /*(multi-line comment) Program comments are nonexecuting statement you add to file for documentation/ /**(documentation comment) Program comments are nonexecuting #statement you add to a file 10 wfile for documentation. 5 12 ) 13 I 8 Checks 9 11 Code Pattern Incomplete Comments contains // comment Instructions Write, compile, and test the Comments class that uses the command window to display the following statement about comments: Program comments are nonexecuting statements you add to a file for documentation. Also include the same statement in three different comments in the class; each comment should use one of the three different methods of including comments in a Java class. Grading Write your Java code in the area on the right. Use the Run button to compile and run the code. Clicking the Run Checks button will run pre- configured tests against your code to calculate a grade. Once you are happy with your
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
