Michael Iaria

Greenhorn
+ Follow
since Aug 07, 2008
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Michael Iaria

In the Self-Test questions, the following code is listed for Chapter 7, question 16:



This code doesn't compile (static modifier on class Othello), which is one of the choices (A). The answers are listed as D and G, claiming that there is actually output. Has anyone else encountered this?
Do you have to take them both? I want to take the latest and greatest, but I don't know if that means taking them both or not. Does anybody have any idea??
Do you have to take them both? I want to take the latest and greatest, but I don't know if that means taking them both or not. Does anybody have any idea??
Sure. I'm really talking about the SCJP 6 exam and the SCJP 6 Upgrade Exam. I'm definitely taking the SCJP 6 exam, but I don't understand the concept of an Upgrade Exam. Any thoughts?
I'm studying for the SCJP 5 exam (CX-310-065). I'm also interested in taking the upgrade exam (CX-310-066). Is it necessary to pass 310-065 before taking 310-066? Also, they mention that if you have already passed 310-065 that you can order 310-066 for a discounted price. Is anyone aware of what that price is?
Thanks for the reply. I have read elsewhere the HFSJ may be incomplete for the purpose of studying for the SCWCD 5 exam. Has anyone had any experience with the other study guide mentioned? Does anyone disagree that HFSJ may be incomplete, or does it do a good job in preparing one for the test?
I am currently looking into buying a study guide. I've seen the following:

Head First Servlets and JSP: Passing the Sun Certified Web Component Developer Exam (Brain-Friendly Guides) [ILLUSTRATED] (Paperback)
Sun Certified Web Component Developer Study Companion: SCWCD Java EE 5 (exams 310-083 and 310-084) (Paperback)

Any recommendations on either of these two or something different? I purchased the Sun Certified Java Programmer for Java 6 Study Guide from McGraw Hill, and I absolutely love it. They also have a SCWCD study guide, but it focuses on the 310-081 and 310-082 exams (the previous versions). What are your thoughts?
This is all making sense. What about this?



Which method will be invoked??
[ August 07, 2008: Message edited by: Michael Iaria ]
I have an intuitive grasp on why the output of the following code is what it is. The output is: -434. The study guide mentions that overloaded var-args methods are chosen last. Can someone please provide me with or point me to the hard and fast rules regarding which overloaded methods are invoked?

I'm studying for the SCJP exam, and I'm writing some sample code to further examine the self-test questions from the SCJP 6 Study Guide. I am confused as to why there is no ClassCastException when we say:



Why am I allowed to downcast a Tree to a Redwood? I'm guessing it has something to do with the fact that the object is not referenced by a reference variable, but that's a shot in the dark. I am satisfied with the reason it happens when we say:



Any information would be appreciated: