• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

getXxx and exam's wrapper methods

 
Louie van Bommel
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Two questions:
A. what does Section 8 objectives mean when it speaks of "getXXX"
http://suned.sun.com/CA/catalogue/courses/CA-CX-310-035.html
(I'd appreciate a complete list of method signatures that are likely to appear on the exam)

B. My list of methods for Boolean and Character classes that relate to
o XxxValue
o parseXxx
o getXxx
o valueOf (I know this one is not in objectives)

consist only of:
public char charValue() (of class Character)
public boolean booleanValue() (of class Boolean)
static Boolean valueOf(String) (of class Boolean)

Did I miss any that relate specifically to Character and Boolean?
 
Robert Chisholm
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need to know .valueOf(). On the exam, I had at least two snippets of code with that method in it.
 
Barry Gaunt
Ranch Hand
Posts: 7729
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bert Bates once said (I searched this forum for getXXX):

What are the top 'ten' topics that people study in preparation for the SCJP 1.4, that are NOT actually on the exam. I'm guessing that MOST people will want to focus on the topics they really need to focus on.

So, we've come up with the first seven, let's make this interactive, if you have a questionable topic, throw it up here and we'll let you know. If you know for sure that a topic isn't on the exam,we'll add it to the list!

Here are the first seven:

1 - The exam won't mix GC questions in with knowledge about the String constant pool.

2 - The exam won't test your knowledge about methods in the Collections framework, only about how the various collection classes should be used.

3 - The getXxx() methods are NOT on the exam, but valueOf() IS on the exam.

4 - Don't worry about StringTokenizer

5 - Don't worry about reflection

6 - Don't worry about clone()

7 - Don't worry about complex precedence questions, if you know the common, basic precedence rules, you'll be set.


What's next??

-Bert


So I think there you have your answer (and more)
 
Barry Gaunt
Ranch Hand
Posts: 7729
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here's the link to that topic I mentioned.
 
Bert Bates
author
Sheriff
Posts: 8900
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for finding that link Barry, indeed everyone can relax when it comes to getXxx, it's an error in the Sun objectives...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic