wood burning stoves 2.0*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Enumeration, Iterator on SCJP? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Enumeration, Iterator on SCJP?" Watch "Enumeration, Iterator on SCJP?" New topic
Author

Enumeration, Iterator on SCJP?

Aarti Dahiya
Greenhorn

Joined: Aug 07, 2004
Posts: 15
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?

Thanks.


SCJP 1.4 (95%)
natarajan raman
Greenhorn

Joined: Apr 10, 2004
Posts: 26
hi,

I don't think so they are part of exam objective......can any of those SCJP's throw light on this....

please and thanks in advance....


nata.r<br />**********************************<br />To win is not always success<br />And to lose is not always failure.<br />**********************************
Murtuza Akhtari
Ranch Hand

Joined: Aug 07, 2004
Posts: 108
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.

thnks
--INXS


---<br />SCJP 1.4
n.chenththuran
Ranch Hand

Joined: Jun 16, 2004
Posts: 41
hi,
They can be tested under exam objective 9.1 . and K&B book example also uses the Iterator. Why dony u have a look chap 7 , page 21 , figure 7.4 on kathy and siera book???
Aarti Dahiya
Greenhorn

Joined: Aug 07, 2004
Posts: 15
Figure 7.4 in K&B book is all that it gives about Iterator. Is that all I need to know? What about Enumeration?

Thanks.
Dan Chisholm
Ranch Hand

Joined: Jul 02, 2002
Posts: 1865
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?

Thanks.


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>
Aarti Dahiya
Greenhorn

Joined: Aug 07, 2004
Posts: 15
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.

Thanks.
Dan Chisholm
Ranch Hand

Joined: Jul 02, 2002
Posts: 1865
Aarti,

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 agree. Here's the link: http://aspose.com/file-tools
 
subject: Enumeration, Iterator on SCJP?
 
Similar Threads
Topics on SCJP 1.4
SCJP 1.5
Passed SCJP 1.4 with 86%
SCJP
SCJP