Menu
Question Index
...

which one of the following syntaxes is / are correct?


Set<? super TreeMap> treeMap = new LinkedHashSet<TreeMap>();
Set<? super TreeMap> sortedMap = new HashSet<SortedMap>();
Set<? super TreeMap> map = new LinkedHashSet<Map>();
All are correct
None of these

Doubts

Problems

Topic: Generics Wildcards In Java With Examples

Read this topic
Take test on this topic

0
Wrong
Score more than 2 points

© meritcampus 2019

All Rights Reserved.

Open In App