Ok, I have the urlybird assignment and I think I know the answer to this question but because the assignment uses
an auto checker it is important to understand the requirement for submission exactly.
The assignment states "Your data access class must be called "Data.java", must be in a package called "suncertify.db", and must implement the following interface:
package suncertify.db.
If I take this literally this means that my Data class should be:
public class Data implements DB{
Am I allowed to deviate from this and make the class
public class Data implements DbExtendedInterface{
where DbExtendedInterface is an extension of DB such that
public interface DbExtendedInterface extends DB {}.
Through the rules of inheritance DB is still implemented by the Data class and from what I have read elsewhere I expect this is acceptable.
Thanks.
Greg Funston
SCJP