Skip to content

Instantly share code, notes, and snippets.

@benjholla
Created September 26, 2018 16:14
Show Gist options
  • Save benjholla/fd4801f29e96c2408ae86b62e10ef2a1 to your computer and use it in GitHub Desktop.
Save benjholla/fd4801f29e96c2408ae86b62e10ef2a1 to your computer and use it in GitHub Desktop.
Java Puzzle 12 (spot the bug if one exists)
public class Puzzle12 {
private static String answer = "Yes of course.";
public static void main(String[] args) {
String answer = "Not explicitly.";
System.out.println("Will puzzles be on the exams?");
System.out.println(answer);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment