Skip to content

Instantly share code, notes, and snippets.

@rmg007
Created October 3, 2022 20:06
Show Gist options
  • Save rmg007/28208e6ea0e0128458bb6d8246c8d2a4 to your computer and use it in GitHub Desktop.
Save rmg007/28208e6ea0e0128458bb6d8246c8d2a4 to your computer and use it in GitHub Desktop.
Learn and dive deep into Java Course. code commenting in Java lecture
public class Main {
/*
block comment
multi-line comment
*/
public static void main(String[] args) {
// single-line comment
System.out.println("one");
System.out.println("two");
System.out.println("three"); // comment at the end of the line
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment