Skip to content

Instantly share code, notes, and snippets.

@alex-sherwin
Created January 20, 2017 19:25
Show Gist options
  • Save alex-sherwin/9415b4de8622a92ceeb918cfb334d201 to your computer and use it in GitHub Desktop.
Save alex-sherwin/9415b4de8622a92ceeb918cfb334d201 to your computer and use it in GitHub Desktop.
package varnames;
/**
* Characters you can use in java identifiers... for good practice...
*/
public class VarNames {
public static void main(String[] args) throws Exception {
for (int i = Character.MIN_CODE_POINT; i <= Character.MAX_CODE_POINT; i++)
if (Character.isJavaIdentifierPart(i) && !Character.isAlphabetic(i))
System.out.println((char) i);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment