Saturday, 7 May 2016
What will happen if you try to add / remove from the Read-only collection ?
If you perform
add
or
remove
operation on a read-only collection, it will throw
UnSupportedOperationException
.
No comments:
Post a Comment
Note: only a member of this blog may post a comment.
‹
›
Home
View web version
No comments:
Post a Comment
Note: only a member of this blog may post a comment.