Win a copy of Pro Spring MVC with WebFlux: Web Development in Spring Framework 5 and Spring Boot 2 this week in the Spring 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:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Bear Bibeault
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh

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
 
Never trust an airline that limits their passengers to one carry on iguana. Put this tiny ad in your shoe:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic