• 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
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Jeanne Boyarsky
Sheriffs:
  • Rob Spoor
  • Devaka Cooray
  • Liutauras Vilda
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Piet Souris

Errors in Master Exam?!

 
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I think I found 2 errors in the Master Exams of the K&B SCJP 6.0 book -
1. the explanation says that legal identifiers could only start with
letters, "_" and the dollar sign. This is not true -
it may be any kind of money sign - the book imho is correct here.
In other words, you may also use the euro, pound, yen ... signs as the first letter of a legal java identifier.

2. "Is a Relationships always require 2 class types".
What about an interface? An interface is not a class, I would say,
yet e.g. "A String is an Object" I would say.

Cheers,

Marcus
 
Ranch Hand
Posts: 338
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Marcus Moreno:
Hi,

2. "Is a Relationships always require 2 class types".
What about an interface? An interface is not a class, I would say,
yet e.g. "A String is an Object" I would say.

Cheers,

Marcus







Is class Parent a TestInterface? true
Is class Child a TestInterface? true
Is class Animal a TestInterface? true
Is class Dog a TestInterface? true
reply
    Bookmark Topic Watch Topic
  • New Topic