This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
Can anybody suggect me how much of the API I have remember . Java Programmer 1.4 Exam objectives 8.X mentions about the methods of Math and Wrapper classes but does not mention the method of the String and StringBuffer class. Does the exam expects to memorise all the methods of the String and StringBuffer class ? It is sufficient to read only the mentioned methods of the Math and Wrapper classes ? Thanks in advance. Ambapali
Ambapali, Honestly, if you've done much studying, I'm sure you've found that you know many of the methods available in String and StringBuffer. String and StringBuffer are definitely fair game as far as exam questions go. However, I wouldn't go as far as trying to memorize every method signature. Granted, I had at least one question on the exam that required me to know the method signature of a given method, but that was just one question. One question should not make or break your exam. If you have a good grasp of Java, you almost certainly have a good grasp of the methods available in the java.lang classes. In short, I wouldn't waste a whole lot of time memorizing method signatures - there are more important things to study. Corey
I would limit the memorization of method signatures to only those specifically mentioned in the objectives. You will also need to know what you can pass to the constructors of the wrapper classes. A typical exam question on wrappers will be designed to determine if you know what you can pass into a method and what is returned by the method. For example, does the wrapper method return an object or a primitive? A typical question for the math class will verify that you know that the trigonometric methods accept radian values as arguments but not degrees. A typical String question will try to invoke a StringBuffer method on a String object so you need to know which methods go with which class. Of course, there will be questions that test your understanding of the immutability of String objects.
Dan Chisholm<br />SCJP 1.4<br /> <br /><a href="http://www.danchisholm.net/" target="_blank" rel="nofollow">Try my mock exam.</a>
Thanks Corey and Dan Chisholm for your suggestion. About yoour question Dan Culache , are you really talking about containers. Thay are not there in 1.4 exam. If you are preparing for 1.2, then I will say that I donot know. But if you are talking about collection classes. It is just enough to read basic type of collection interfaces and classes as a point of selecting them in different situation. The methods are not important. Collections are very good in Kathy's book, if you have one. Bye the way, I just gave the 1.4 exam (passed with 95%) and did not get any tough/rare question on API. Ambapali
Joined: Jan 24, 2003
Thanks Ambapali. Yes, I was talking about collections. For how long did you study?