File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes B&S: Interpretation Question, Please! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "B&S: Interpretation Question, Please!" Watch "B&S: Interpretation Question, Please!" New topic

B&S: Interpretation Question, Please!

Scott H. Kao

Joined: Nov 07, 2004
Posts: 23
Hi each and every member,

I'm about to submit my assignment, but when I made the final
review of the specification I found a sentance seeming stranger
than what I had thought earlier.
In the DBAccess interface, the comment close to the updateRecord() reads:

"... The new value for field n appears in data[n]."

I originally interpreted the 1st field as appearing in data[0],
the second in data[1], ... etc.

But I'm considering of another interpretation that
the 1st field appears in data[1],
the second in data[2], ... etc.

What do you interpret it as the specification really wanted?

Thanks in advance!

Best regards,

(SCEA Part II in progress...)<br /> <br />Scott H. Kao<br />[SCJD, SCBCD, SCWCD, SCJP]
Barend Garvelink
Ranch Hand

Joined: Dec 07, 2004
Posts: 64
Hi Scott,

To be honest, I think you're reading too much into this. I would not worry.


SCJP 1.4, SCJD 1.4, SCWCD 1.3, ICSD:Websphere 5.1
Andrew Monkhouse
author and jackaroo
Marshal Commander

Joined: Mar 28, 2003
Posts: 11776

Hi Scott,

I agree with Barend.

In this assignment, as in real life, you are unlikely to get perfect instructions. Sometimes this could be because the person writing the instructions has a different "mindset" (e.g. they may be a DBA moving into writing programming specifications - in which case they may well write that field 1 goes into data[1]), and sometimes the confusion could be deliberate (so that the customer has more time to think / clarify instructions, or (in the case of assignments for certification) it could be that the instructions are meant to mirror the vaguarities of a real life assignment ).

Go with what seems a reasonable interpretation for us: that the "1st field as appearing in data[0]"

Regards, Andrew

The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
Scott H. Kao

Joined: Nov 07, 2004
Posts: 23
Hi Barend and Barend,

Thank you for your replies and thoughts!

Best Regards,
I agree. Here's the link:
subject: B&S: Interpretation Question, Please!
It's not a secret anymore!