aspose file tools*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes java.lang and java.util Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "java.lang and java.util" Watch "java.lang and java.util" New topic
Author

java.lang and java.util

J Hreich
Ranch Hand

Joined: Mar 22, 2002
Posts: 37
Every mock exam I have taken so far includes something about wrapper classes, mostly identifying them. The same thing applies java.util collections (like identifying classes and interfaces suitable for a certain problems). My question is: I can't find anything in the SUN's exam objective that mentions anything about:
a) wrapper classes. I say so because even
though java.lang is included in the exam,
only certain Math functions and immutability
of strings are included
b) collections API. The only thing they mention
is identifying what colletion
classes/interfaces are suitable
I did a search on this board and I have read posts saying that c-tors and API's should be known.
Can someone clear this?
Also, for all the SCJP's, has anyone every gotten any questions involving the API of wrapper classes and collections.
many thanks in advance, Jamil
Corey McGlone
Ranch Hand

Joined: Dec 20, 2001
Posts: 3271
If you take a look at Sun's Success Guide, you can see the objectives for the exam listed. In those objectives, they make a direct reference to being able to use Collections, so it would probably be best to understand a bit about them. They don't directly state that you should know the wrapper classes but they're so basic that I'd be ready to answer some questions about them. Just because Sun didn't say specifically "know the methods of the Integer class," don't think they can't ask you about it.
I wouldn't expect any questions in which you'd have to regurgitate some obscure method from the Long class, but it would be good to know the basics about the wrappers and how they function.
I hope that helps,
Corey


SCJP Tipline, etc.
Jim Bedenbaugh
Ranch Hand

Joined: Nov 09, 2001
Posts: 171
Originally posted by Jay Hreich:
Also, for all the SCJP's, has anyone every gotten any questions involving the API of wrapper classes and collections.

Does a cat have a climbing gear? You bet I did. I recall at least 2 direct questions on collections and a couple more involving the Wrapper constuctors. Learn them all well. Also, look over some of what you might think are commonly used methods, too (hint, hint).


Regards,
Jim
SCJP, SCJD, SCWCD, SCEA Part I
J Hreich
Ranch Hand

Joined: Mar 22, 2002
Posts: 37
Corey, where in the objectives does SUN say we have to know how to use collections? They say we have to able to make appropriate selection of collection classes/interfaces to suit specified behavior requirements.
In other sections, like IO, they are much more explicit in saying what we have to know.
Jim, were the questions about collections related to understanding how their API's work?
 
Don't get me started about those stupid light bulbs.
 
subject: java.lang and java.util