Hi,
This is all really confusing.
Is the following summary correct? It certainly would be easier to remember if so:
"If you declare a Collection or Map reference type variable using the wildcard operator you cannot add elements/entries to the object that is referenced by the variable."
Is that correct?
Thanks.
Question on generics
Moderator: admin
-
- Posts: 53
- Joined: Fri Sep 20, 2013 7:20 am
- Contact:
Question on generics
Last edited by admin on Tue Sep 24, 2013 8:33 am, edited 1 time in total.
Reason: removed qid reference from title
Reason: removed qid reference from title
-
- Site Admin
- Posts: 10398
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocpjp.v7.2.1300 :
No, that is not correct. It is a lot too complicated to put in one sentence. You have to read it from a book multiple times to understand it.
HTH,
Paul.
HTH,
Paul.
Who is online
Users browsing this forum: No registered users and 9 guests