Jump to content

Talk:Wildcard (Java)

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Christian75 (talk | contribs) at 16:10, 4 August 2015 (Assessment: +Java (assisted)). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
WikiProject iconJava Unassessed
WikiProject iconThis article is within the scope of WikiProject Java, a collaborative effort to improve the coverage of Java on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
???This article has not yet received a rating on Wikipedia's content assessment scale.
???This article has not yet received a rating on the project's importance scale.

Code

May be wildcardReference should be better initialized?
If not, javac can complain with an error:

"variable wildcardReference might not have been initialized"

I would code it this way:

Generic<?> wildcardReference=new Generic(); // new Generic<>() prohibited as explained in section 'Object Creation with Wildcard'

--idleloop (talk) 18:46, 18 December 2011 (UTC)[reply]

Bounded Wildcards

I am a newbie in Java programming, not yet enough comfortable to edit section Wildcard (Java)#Bounded Wildcards. However, I have some ideas that may improve these explanations :

Oliver H (talk) 14:15, 19 September 2012 (UTC)[reply]

Article Assumptions

Article reads at very high level, presumes knowledge only a very tiny miority of intrtereaders can be assumed to possess while at the same time covering a topic of practical interest to millions of Java programmers. The least Wikipedia can offer is a comprehensible definition subject. This article fails that criteria. — Preceding unsigned comment added by 67.184.124.99 (talk) 16:58, 20 February 2014 (UTC)[reply]