I am preparing for SCJP 1.4. I noticed some questions on Enumeration and Iterator on Dan's mock exams. But, there were none in K&B book on these topics. Is it to be covered for SCJP 1.4? Are there questions on the exam on these topics?
In addition to Aarti's Q....Dan's mocks also have a lot of questions on escape sequences..
On the K&B book tht i m using....i haven't seen Q's on it...however it deals with the \u (unicode) but tht too only for char variables....
Dan's mocks have thm in all sorts of places like using thm in Strings etc.. Do we have escape sequences on the CERT?? also do we need to know where these can and cannot be used? for eg..in Strings, chars..use of hexadecimal E.S.
Originally posted by Aarti Dahiya: Figure 7.4 in K&B book is all that it gives about Iterator. Is that all I need to know? What about Enumeration?
Yes, Iterators can appear on the exam. The Iterator interface declares only three methods, so it is very easy to learn. The Enumeration interface only declares two methods, so it is even easier.
The Iterator and Enumeration interfaces are very similar. One obvious difference is that Iterators have three methods while Enumerations have only two. A second difference is that the methods of the Iterator interface have shorter names than those of the Enumeration interface.
The Enumeration is really a legacy interface. You should always use Iterators in new designs.
Whenever you work with Collection classes, you are likely to be working with Iterators, so you should not hesitate to learn how to use them. Learning how to use Collection classes without learning about Iterators is about as useful as learning how to work with screws without also learning how to use a screw driver. [ August 09, 2004: Message edited by: Dan Chisholm ]
Dan Chisholm<br />SCJP 1.4<br /> <br /><a href="http://www.danchisholm.net/" target="_blank" rel="nofollow">Try my mock exam.</a>
Joined: Aug 07, 2004
Thanks Dan! I went over the methods in Iterator and Enumeration interfaces. They are quite easy. I am taking SCJP in a couple of days. I got 73% and 80% on Marcus's two mock tests after I went over K&B once. Now, I have revised and improved upon all my weak areas and hope to do better on the mock tests I take from now on. What do you think about my percentages on the mock tests before revision in regards to the actual SCJP1.4.
Joined: Jul 02, 2002
The score that you get on Marcus Green's exam is likely to be very close to the score that you will get on the real exam.
The score that you get on the real exam is likely to be a lot higher than the score that you get on my exams.
The passing score on the real exam is 52%, so your score on Marcus Green's exam suggests that you will pass easily.
I'm sure that you will do very well.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com