• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Questios having in correct answers

 
Ranch Hand
Posts: 266
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ?
 
Ranch Hand
Posts: 774
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear Jose,

Please use code tags.

Best Regards,
 
jose chiramal
Ranch Hand
Posts: 266
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,

Please CheckThis
This might sound helpful.

Best Regards,
 
jose chiramal
Ranch Hand
Posts: 266
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Prithvi
 
author
Posts: 9050
21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic