This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
As an investment in my future, I have purchased boththe uCertify and Whizlabs SCJA kits.Both are reasonably well constructed, and uCertify has a good Quizz mode and Flash card builder.
However, be wary of the support and Ddiscussions with Whizlabs. I fell upon the following question in the Whizlabs SCJA prepkit
Which of the following options is the result of compiling and running the code given below?
A: Compiler error B: Prints "true" C: Prints "false" D: Exception at runtime
My Answer A: Their answer D:
I suggested it did not complie as Byte b = new Byte(12) appeared to try and take an int as constructor perameter. In testing this in Eclipse I was right, it did not complie. It WOULD if it were to read:
I have tested this in Eclipse, and these alternatives work.
Thus, in persuance to this, I clisked the provided "Discuss this" Button on the question, to see if there was any discussion and it took me to the Forums, where, to my suprise there was no SCJA Forum listing, all other certs were provided from SCJP onwards, but not SCJA.
I emailed Whizlabs support and got a mail return error, email@example.com is full, so Ii got onto their Live chat support, which to say the least was an exprience, one line answers and several occassions I was reminded that the suport person is dealing with other chat clients so I can wait.
After 10 minutes or so, I was first emailed the suport email adress which I tried again and was full (again) and when I mentioned this, I was given what seems to be the emailfor the support person I was chatting with(which seemed to work) though I was told that it could take a while(fair enough)
However most significantly I was told, that in relation to the SCJA they withdrew Forum and Discussion support a Month ago for SCJA, but gave no reason. Infact, Ii was told to take my discussions to Java Ranch, so here I am.
So to anyone who needs to know, the Whizlabs SCJA Preparation Kit is a fairly good product but neware any support, or queries you may have, for there lies a black hole it seems!
be a well encapsulated person, don't expose your privates, unless you public void getWife()!
Joined: Jul 23, 2008
Sorry Whizlabs answer was C Still incorrect though)!
Stephen, thank you very much for pointing out this issue.
I would like to elaborate it a little bit by giving the complete example.
Using the file ByteClassConstructorTest.java with the following content:
Trying to compile it on windows shows the following error:
C:\java>javac -version ByteClassConstructorTest.java javac 1.6.0 ByteClassConstructorTest.java:4: cannot find symbol symbol : constructor Byte(int) location: class java.lang.Byte Byte b = new Byte(12); ^ 1 error
I am using the Sun SDK and the -version flag indicates the compiler version.
Now I would like to list valid alternative code lines:
Therefore, from my point of view Stephen is 100% correct!
Further I would like to note that
although completely irrelevant to the issue above is a valid, i.e. compileable and executable, line of code. The initial value just needs to fit into the byte value range [-128,127].
[ August 27, 2008: Message edited by: Jean-Paul Cassis ] [ August 27, 2008: Message edited by: Jean-Paul Cassis ]
Joined: Jul 23, 2008
I finally,recieved an email from some poor sales exec at Whizzlabs who informed me (what a coincidence) theat they are presently updating the scja test) I await the result (hopefully I dont have to pay for it!)
Yes, I too agree with the observation regarding there support. I too posted a question to them about 2-3 weeks back and have still to hear from any one (at least I did not get the mail box full !). I have had doubts about a couple of question and am awaiting a reply from them.
Dear Stephen and P Teng,
I Apologize for this experience,
Our SCJA Exam Simulator is an Updated version.
Kindly send us your queries at firstname.lastname@example.org. I assure you that you will get the response as soon as possible.