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.
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Note: only a member of this blog may post a comment.