The forgotten comments

Report a typo

Programmers wrote a code with a lot of comments, but they forgot to add the required symbol for comments. As a result, the code does not compile. You need to comment some lines in this code to make it compile.

Please, do not remove already written comments!

Write a program in Java 17
The restriction: the class should have the name Main
public class Main {

The start point of your program
public static void main(String[] args) {
System.out.println("It compiles!"); It prints "It compiles!"
}
}
___

Create a free account to access the full topic