Venkata Saraswathi wrote:
Bob Wheeler wrote:"? extends B" can be assigned to "? extends A".
I didn't get your explanation and that wrong you mentioned in given code example.
Can you give a sample program whcih will compile successfully and clarify above statement?
Thanks,
--Venkata.
In your code you made a typo. You wrote b1 (b followed by "one") and also bl (be followed by "l"). I changed that in my code
and that code compiled successfully.
Edit: small explanation in code:
cheers
Bob