[HD-OCP17/21-Fundamentals Pg 0, Sec. 16.1.3 - syntax-for-using-generic-types]

Help and support on OCA OCP Java Programmer Certification Questions
1Z0-808, 1Z0-809, 1Z0-815, 1Z0-816, 1Z0-817

Moderator: admin

Post Reply
joaoclopes
Posts: 35
Joined: Mon Sep 23, 2024 4:49 pm
Contact:

[HD-OCP17/21-Fundamentals Pg 0, Sec. 16.1.3 - syntax-for-using-generic-types]

Post by joaoclopes »

Hello in the code example:

Code: Select all

//I will discuss wildcards in the next section
List<?> iList; //using unbounded wildcard
List<? extends Integer> iList; //using upper bounded wildcard
List<? super Integer> iList;//using upper bounded wildcard
the "super" should say using lower bounded wildcard.

Thanks!

admin
Site Admin
Posts: 10384
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: [HD-OCP17/21-Fundamentals Pg 0, Sec. 16.1.3 - syntax-for-using-generic-types]

Post by admin »

Duly noted.
thank you for your feedback!

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 10 guests