Hi Guys.
Lately I've been reading all about declarations in
java and trying to resolve exercises about it.
I've been trying to figure out the answer of the following question but i still don't understand. The book says A , B and D are the answers. But why not C? and why D??
1.Which of the following are valid declarations? Assume java.util.* is imported.
A.Vector<Map> v;
B.Set<
String> s;
C.Map<String> m;
D.Map<String, String> m;
Thanks in advance.