Created
November 7, 2017 01:23
-
-
Save mcupak/7dfa4b5824df43bf9a084a1e49083c27 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| jshell> list.add("d") | |
| | java.lang.UnsupportedOperationException thrown: | |
| | at ImmutableCollections.uoe (ImmutableCollections.java:70) | |
| | at ImmutableCollections$AbstractImmutableList.add (ImmutableCollections.java:76) | |
| | at (#13:1) | |
| jshell> list.getClass() | |
| $14 ==> class java.util.ImmutableCollections$ListN |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment