Created
August 8, 2022 10:45
-
-
Save vivek-vijayan/25132552ab2cafef8a4eb62c9fd93cff to your computer and use it in GitHub Desktop.
Executable comments in Java
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 Commentexecution { | |
public static void main(String[] args) { | |
int alpha = 10; | |
// I'm changing the value of \u000d alpha = 30; | |
System.out.println("Value of alpha : " + alpha); | |
} | |
} | |
// OUTPUT : 30 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment