Help with 7/12


#1



Exercise 7/12 - https://www.codecademy.com/en/courses/learn-java/lessons/introduction-to-java/exercises/comments?action=resume

It says I have 3 errors -

Comments.java:12: error: illegal start of expression
}
^
Comments.java:12: error: ';' expected
}
^
Comments.java:13: error: reached end of file while parsing
}
^
3 errors

however the left hand side has ticks in the boxes saying I have done the exercise correctly, should I continue?


public class Comments {
	public static void main(String[] args) {

		System.out.println(//"Noise!");
      /*  Are casual fridays meant to make me feel better about my job, like hey, your life sucks but you can wear a polo shirt once a week */


#2

To mark a line as a comment, put the two // at the beginning of the line, not in the middle as you have done there.


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.