This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Rust Web Development and have Bastian Gruber on-line!
See this thread for details.
Win a copy of Rust Web Development this week in the Other Languages forum!
  • 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:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic