aspose file tools
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Question on Collection Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Reply Bookmark "Question on Collection" Watch "Question on Collection" New topic
Author

Question on Collection

sashi balu
Greenhorn

Joined: Jul 23, 2004
Posts: 16
This from PGJC Mock Exam Engine,

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
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.
 
subject: Question on Collection
 
Similar Threads
Reg.Collection
Mughal's Mock Exam-Collections (java.util.packages)
Generics
Set question
Collection