rich tana

Ranch Hand
+ Follow
since Aug 25, 2008
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by rich tana

HI there
As per the Java 5 Self Assessment exam at:
http://www.sun.com/training/certification/assessment/055-Jintro.jsp
Is this assessment as EASY as the REAL Java 5 exam? Can exam takers verify this?
Thanks
Uf the sun self assessment is as hard the real exam, it should not be that bad.
Hail to the Almighty Bert and all,
This helps a lot. My only concern is when are you are over studying for the SJCP? I feel i know the basics pretty good including the majority of the API. The problem now lies in when my confidence gets shots from the K&B book questions. I flunk most of them due to simply forgetting one of 'gotchas'. The other problem I have is the level of difficulty on the real exam versus the mock questions or books questions. As said, at what point can you say you are over studying? I sometimes feel like a cat chasing my tail.
Thanks for the help either way
Definitely makes sense, I see the difference.
Big thanks to all including Ruben.
AS with the code from below (K&B book pg 215):



It says you cannot change the state of f or I am proving to be seeing things again. Maybe I am putting way too much effort into this?
Sorry to be a dodo Ruben, but this brings me back to my original confusion, why does this not work then?


As opposed to pass-by-value semantics as on p 215,

void bar() { Foo f=new Foo(); doStuff(f); }
void doStuff(Foo g) { g.setName("Boo"); g=new Foo(); }

In another way to reword the book, is this assumption correct?
I cannot change any f/g member in doStuff() since it is not making a direct reference change and doing it through a setter like setName().
I hear you Ruben. It seems that this is the biggest gripe against Java. It seems I love the complexity of it but there also seem to be many ex-Java programmers going into something like Ruby on Rails.

Anyhow, never mind that. I am trying to figure out realistically if there are any of these of 'over the top' kind of questions in the real exam. I am referring to the level of trickiness and gotchas in the K&B test questions. I know some say the real exam is easier, but how much easier. Are the REAL questions more direct and have fewer snags? The verbage in the book has elevated my state of Paranoia meaning I may be over studying way to much. I am not even sure if I am wasting too much time on it One of my other fellow programmers dumped the K&B book because of it. I mean we are not college kids here, we are developers with 20+ years experience. I am trying to figure which mock exams reflect the true difficulty on the exam.

Oops. Sorry typo. Here it is corrected:

Well my Polytech school here in Canada at Ryerson likes to test for real world scenarios, not to see if we are walking compilers. It seems this is the biggest complaint of these SJCP exams in which some employers don't value them. EIther way, I understand the logic of the level of trickiness to these questions. I just think some of them are way over the top. I would never see this in other languages unless some developer likes to be abusive in their coding styles. If that is the case, maybe they should work for NASA instead of some bank let's say.
You rule Ruben. Thanks so much! Now, here is another question. If I change to:



The result should of: System.out.println("Value of reference y parameter after increment is: " + y.x);
should be y=1 instead? If so, I definitely got it!!

No worries. I think trying to explain myself electronically is really hard. Don't worry about it? Thanks for attempting anyhow.
Once again, thanks Ruben. Is it possible to provide an example of the syntax you are explaining? This will clear it up pretty quickly.
Thanks Ruben. I got the concepts down but I just really need to focus on the class methods as explained in the K&B book. I should be ok? I just want to satsify my paranoid way of thinking.
Thanks. As in C/C++, there is a clear distinction between the 2 between the dot operator and -> operator. There seems to be no clear distinction you can see in Java code. I am just trying to distinguish between the 2 just by looking at Java code or is this possible? I do understand the difference but just need to see it in the actual code.
Thanks
Hi Marcel
What I meant was, when most people study for a university level exam out of a course text book, it is quite common that all test questions cover a lot of the scenarios in the target course exam or at least cover all questions in the course exam. Most university exams are designed this way. In this case, SJCP is a vendor supplied exam but I am wondering if the Kathy & Bert (or any other mock exams) really cover a lot of the questions in the REAL exam. Has anyone seen gotcha kind of questions in the real exam they never knew about? I am hoping the mock exams prevent this type of scenario. Thanks. I am just wondering if this makes sense.