Created
May 17, 2020 22:56
-
-
Save yenerm/fbc31fd70c3415673d9c41c79c4484f2 to your computer and use it in GitHub Desktop.
Java List without generics
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
List list = new ArrayList(); | |
list.add("First String"); | |
list.add(6); // No error |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment