Hi everybody,
My assignment is URLyBird 1.2.3
There is a very strange request:
"Your data access class must be called 'Data.java', must be in a package called "suncertify.db", and must implement the following interface" (DBAccess)
The very important thing is this request is a MUST. But having a class named 'Data.java' means 3 possibilities:
a)a wrong request from SUN - but this is a MUST so I cannot suppose this is a SUN's mistake.
b) I can define class "java" in package suncertify.db.Data - this means to not use
Java Code Conventions.
c)more like, having a class named Data in package 'suncertify.db' and this class has a static inner class named 'java'
The difference between b) and c) is that the last one really defined that class in the specified package 'suncertify.db'.
Bot b) and c) means loosing some credits. But to not defined class Data.java (in a file named Data.java, of course) means failing the assignment.
Of course, I could send an email to
who2contact@sun.com to ask about it but is possible that I do not receive an answer.
Please, comment this.
Regards,
Catalin Mihalache
SCJP, SCWCD, SCDJWS