Home
Exams
Providers
About
Sign In
Sign Up
Home
/
Exams
/
Oracle Java SE 11 Developer
/
Question #3
#3
Multiple Choice
Mark for review
Given:
and
Which two method definitions at line n1 in the Bar class compile? (Choose two.)
A.
public List<Number> foo(Set<String> m) {...}
B.
public List<Integer> foo(Set<CharSequence> m) {...}
C.
public List<Integer> foo(TreeSet<String> m) {...}
D.
public List<Object> foo(Set<CharSequence> m) {...}
E.
public ArrayList<Integer> foo(Set<String> m) {...}
F.
public ArrayList<Number> foo(Set<CharSequence> m) {...}
Reveal Answer
Previous
Question 3 of 192
Exam 1Z0-819 Topic 1 Question 3
Back to all questions
Next
Sign In
Sign Up