• 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:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

java.lang package

 
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 3271
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 1865
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What about containers and their methods?
 
Ambapali Pal
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Ambapali. Yes, I was talking about collections. For how long did you study?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic