• 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

Sybex 819 - OCP 11 Complete Guide Kindle Edition

 
Greenhorn
Posts: 1
1
  • Likes 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There is an error on page Ixiv, assessment test Part 1, question 14: a try... multicatch statement has this syntax on the catch:



This causes an "unexpected token" compiler error that doesn't figure among the answers and indeed is not mentioned in the explanation.

 
author & internet detective
Posts: 41936
910
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Alessandro,
Welcome to CodeRanch!

I've added this to the Java 11 and 17 errata and given you a cow. The answer is the same because there is another error on that line. But the intent was not to use ||
reply
    Bookmark Topic Watch Topic
  • New Topic