Which of these statements concerning the collection interfaces are true?
1.Set extends Collection 2.All methods defined in Set are also defined in Collection 3.List extends Collection 4.All methods defined in List are also defined in Collection 5.Map extends Collection
I know 5 is a wrong ans and 1 and 3 are correct but I am not sure what will be the correct third choice as 2 and 4 both sound wrong to me. Please advise.
Thanks Sashi
tao wu
Greenhorn
Joined: Sep 18, 2004
Posts: 8
posted
0
Sashi ( 4.All methods defined in List are also defined in Collection ) is wrong . You can see from API doc [ September 29, 2004: Message edited by: Jonathan Schwartz ]
Boy From PRC<br />SCJP1.4
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.