This week's book giveaway is in the General Computing forum.
We're giving away four copies of Learning Regular Expressions and have Ben Forta on-line!
See this thread for details.
Win a copy of Learning Regular Expressions this week in the General Computing forum!

Jenn Green

Greenhorn
+ Follow
since Nov 26, 2000
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 Jenn Green

Hi there,
Wondering if anyone has gotten their beta exam results yet? I didn't take the exam until quite late in the testing period... the curiosity is killing me.
JG
Hi there,
The casting process is treated in 2 distinct steps by Java. First, at compile time, all the compiler checks is that the object type you are casting to (ie, the type in the cast brackets) is compatible with the type you are assigning the result of the cast operation to.
SO, in your example, d = (D)I; Java assumes that Type D is compatible with your previously declared d. Whcih it is. This will allow your code to compile.
At runtime, the second part of the checking is done. Java now closely inspects the type you are doing the casting to. In this case, I is an interface... which is in no way compatible with D, the type you are attempting to cast to. This will cause your runtime error.
I hope this helps. The big thing to remember is that casting is a 2 step thing - you can sneak around the compiler as long as your cast type is compatible with the type you are assigning to. Then at runtime, the object that you are actually hoping to cast should indeed contain the type you are casting to. (if you think about it, its really only the rules for conversion applied twice).
*cheers*
JG
Hey,
I wrote the java beta test on last Thursday... all in all, it seemed a little easier than the 1.2 exam.. I'm not sure if that's because when I wrote the orginal exam I had little programming experience and now I have about 1.5 years? That might make the difference.
Anyway, not a bad exam. Some stuff on assertions, but mostly relating to good programming practice. No IO or AWT!!! Unbelievable. I did feel that they beat garbage collection to death with very long code examples, and a lot of theory questions. The new collections stuff is nothing to worry about, there didn't seem to be any emphasis on these questions. Seemed to be less on casting and converting than I originally remembered on the first exam too. And of course, the regular run of the mill string immutablity-type questions.
Good luck to everyone still to write... now I have to wait 8 weeks for the results!
JG
Hi there,
I am still confused about thread synchronization... I have done the tutorial on threads at the Sun site and done their "synchronized" example which tries to coordinate a producer and consumer... however, even when I download their source files the output is still WRONG according to what their example is getting at. I am getting out:
producer1: 0
consumer1: 0
consumer1: 1
producer1: 1
producer1: 2
...
Has anyone else done this example and gotten the predicted results to output? any help would be appreciated. I keep thinking I understand the theory and then these examples blow up!
JG
Hi there,
just wondering what version of the API that the exam is based on now for method specific questions? It was 1.2.2, but has it moved to 1.3? any info would be appreciated. Thanks.
JG
Hi everyone,
Thanks for the info re: the written part... I wouldn't have let it make my decision for me, was just wondering about it since the format seemed quite different than every other exam i've encountered to date. Looking forward to ordering the assignment voucher on Monday!
JG
Turns out I'm:
Intravert
Sensor
Thinker
Judger
And Chief Information Officer was first on my list of compatible careers!
JG
16 years ago
Hi there,
Been an SCJP for over a year or so... also have OOAD, Visual Age and Websphere certs. I am considering taking the Developer cert and looking for general impressions. I've read over a few posts here and seems from all vantage points, this shouldn't be too big a deal. My only concern is the written exam. I can't seem to get a real clear impression what this is all about. Can any one help here? The objectives on the Sun site seem to be lacking real detail. Any advice at all will be appreciated! Thanks in advance.
JG
AND, i forgot this one in the last post... in the movie Shrek when the Gingerbread, during interrogation by the evil Falstad, yells out "EAT ME!". That movie was far too entertaining to be pushed as a kids film!!!
JG
16 years ago
I've always been a fan of "Two peanuts were walking in a park... one was assaulted"... makes me giggle every time.
JG
16 years ago
I just attended the 4th wedding this summer that i was invited to! YIKES! how many have you guys been to so far?
JG
17 years ago
Newfoundland, Canada! Hope all Canadians enjoyed Canada Day! Happy July 4th to all our American neighbours!
JG
17 years ago
I took the exam for 3.5... It wasn't too bad an exam experience really. I felt like some of the questions were a little obscure but then my frame of mind at the time may have caused that I used the InfoCenter a lot during study, as well as the pdfs, and API documentation. Its a good idea to play with the Admin Console as much as possible if you can - configure everything, change it, and then change it again! Use the exam objectives as a study guide and do lots of IBM sample exams on line.
Best of luck to everyone!
JG
17 years ago
Hi there
Just wanted to say thanks to all for answering my questions in preparation for the WAS exam. Passed today with a 75. Wasn't too bad - just happy to be done with it

JG
17 years ago
Hi Marya
My employer also requires the cert - ideally JCert Level II. They are a partner with the initiatve. I am writing Websphere tomorrow (not required) and have UML left to go. I also wanted to get the certs for a little credibility - I don't have a whole lot of work experience right now, but at least it shows I can perform to certain standards. Although, I definately value experience!
JG