• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

Enumeration, Iterator on SCJP?

 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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....
 
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 1865
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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 ]
 
Aarti Dahiya
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 1865
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic