Created
October 3, 2022 20:06
-
-
Save rmg007/28208e6ea0e0128458bb6d8246c8d2a4 to your computer and use it in GitHub Desktop.
Learn and dive deep into Java Course. code commenting in Java lecture
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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