Created
October 26, 2015 18:25
-
-
Save WillDignazio/6dc2f7745ae67a5972d4 to your computer and use it in GitHub Desktop.
Generic Array Wishful Thinking
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 GenericArray { | |
public static void main(String[] args) { | |
Pair<String, String> arr[] = new Pair<String, String>[10]; // BOOM! | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment