File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java.lang package

 
Ambapali Pal
Ranch Hand
Posts: 47
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Corey McGlone
Ranch Hand
Posts: 3271
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Dan Chisholm
Ranch Hand
Posts: 1865
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 Culache
Ranch Hand
Posts: 70
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What about containers and their methods?
 
Ambapali Pal
Ranch Hand
Posts: 47
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Dan Culache
Ranch Hand
Posts: 70
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Ambapali. Yes, I was talking about collections. For how long did you study?
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic