this is from valiveru... Which of the following statements are true? A. At the root of the collection hierarchy is a class called Collection B. The collection interface contains a method called enumarator C. The interator method returns an instance of the Vector class D. The set interface is designed for unique elements //I LIKE A AND D BUT DIDNT GET THIS ONE RIGHT, WHY ?
Collection is not a class but an Interface, so at the root of the collection hierarchy is an INTERFACE called Collection. I got this one wrong also the first time I took this mockm, but I will remember it now. That is the nice thing about taking mocks, get it wrong once and you are pretty likely to remember it for the future. Bill
Joined: Nov 02, 2000
thanks again Bill, have you already passed the exam ? your knowledge is really very impressive, if you can recommend some useful mocks that would be nice, i am appearing for the test in a week. something besides marcus!...
Joined: Jun 30, 2000
sarim, Thanks for the comments, but I still have a good bit to learn also. I am still studying for the exam. I learned most stuff through these forums and looking at the posts and going through the API or JLS or compling and running the code myself to get the answer. But I will be taking the exam soon. I want to get better at IO and AWT first. For the mocks, go to www.javaranch.com/mock.jsp for a good list of mocks. Take as many of them as you can. Good luck to you, Bill