Skip to content

Instantly share code, notes, and snippets.

@vivek-vijayan
Created August 8, 2022 10:45
Show Gist options
  • Save vivek-vijayan/25132552ab2cafef8a4eb62c9fd93cff to your computer and use it in GitHub Desktop.
Save vivek-vijayan/25132552ab2cafef8a4eb62c9fd93cff to your computer and use it in GitHub Desktop.
Executable comments in Java
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