2

How does the wildcards mentioned below work?

<? extends >
<? super >
<? >

Which instances would i be able to use them?

fabian
  • 80,457
  • 12
  • 86
  • 114
  • 3
    You can see complete documentation at https://docs.oracle.com/javase/tutorial/extra/generics/wildcards.html. – nomis May 22 '15 at 12:45
  • https://docs.oracle.com/javase/tutorial/java/generics/bounded.html – fabian May 22 '15 at 12:46
  • 6
    Welcome to one of the most difficult concepts in Java ;) Personally I've been doing generics in Java for now quite a few years and still cannot come with a clear explanation of it all – fge May 22 '15 at 12:46
  • possible duplicate of http://stackoverflow.com/questions/252055/java-generics-wildcards – Radiodef May 22 '15 at 12:48

0 Answers0