Skip to content

Instantly share code, notes, and snippets.

@eoftedal
Created April 24, 2015 09:44
Show Gist options
  • Save eoftedal/82f48b8e0308794862d4 to your computer and use it in GitHub Desktop.
Save eoftedal/82f48b8e0308794862d4 to your computer and use it in GitHub Desktop.
What is printed?
public class Puzzle {
public static void main(String[] args) {
String a = "1";
String b = "\u0022\u003b\u0061\u003d\u0022\u0032\u0022\u003b\u002f\u002f";
System.out.println(a);
}
}
@lillesand
Copy link

Awesome… and a little bit worrying.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment