File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Questios having in correct answers

 
jose chiramal
Ranch Hand
Posts: 266
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have noticed that there are few errors in the SCJP Q&A given at the end of each chapter of the K&B book and also in the mock exam cd that came along with it. Is there any location where I could refer to the correct answers for such questions here in coderanch ?
 
Prithvi Sehgal
Ranch Hand
Posts: 774
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

Check out for K&B errata. I think so, for SCJP 6 guide, still there is no confirmed errata. Else let the moderators speak on this
point.

Best Regards,
 
jose chiramal
Ranch Hand
Posts: 266
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I feel there are lots of errors, as an example :

class TKO {
public static void main(String[] args) {
String s = "-";
Integer x = 343;
long L343 = 343L;
if(x.equals(L343)) s += ".e1 ";
if(x.equals(343)) s += ".e2 ";
Short s1 = (short)((new Short((short)343)) / (new Short((short)49)));
if(s1 == 7) s += "=s ";
if(s1 < new Integer(7+1)) s += "fly ";
System.out.println(s);
} }
 
Prithvi Sehgal
Ranch Hand
Posts: 774
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Jose,

Please use code tags.

Best Regards,
 
jose chiramal
Ranch Hand
Posts: 266
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sorry abt it. In the code posted above the SCJP book mentions the ans without the "-"
Whereas the actual output on running it on eclipse is : -.e2 =s fly

Could someone please point me to the link having all the errata ?
 
Prithvi Sehgal
Ranch Hand
Posts: 774
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

Please CheckThis
This might sound helpful.

Best Regards,
 
jose chiramal
Ranch Hand
Posts: 266
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Prithvi
 
Bert Bates
author
Sheriff
Posts: 8898
5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Jose,

First off, it's quite possible that you've found errors in the book that no one else has found yet. If you search this forum for threads that include "errata SCJP 6" you'll find the thread where ranchers can add errors to the list, and where you can search the list.

BUT...

Please be careful! In the case of the question you posted, I think perhaps you need to go back and read the question more carefully. In general, you need to do a few things:

- Don't use an IDE
- When you post any mock question, from me or from anyone else, you must post the ENTIRE question.

So, in this case, you can probably use an IDE, but before you call this an error, read the ENTIRE question, and if you still have doubts, show the ENTIRE question on this thread, and make sure everyone agrees it's an error before you add it to the errata list.

Jose, I promise I'm not being too picky The questions on the real exam can be VERY tricky, and you MUST read them carefully. So, mock exam questions have to be read very carefully also!

Thanks!

Bert
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic