• Post Reply Bookmark Topic Watch Topic
  • New Topic

Interface provided by Sun

 
Song Jing Lim
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
G'day,
My SCJD assignmnet is concern home improvement contractors.
The instruction.html I receive stated that:
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;
public interface DBMain {
...
}

My question is can I add new methods that useful for me but seem missing in interface DBMain? (e.g. gerTotalRec(), getAllRec())
I had sent a mail to Sun and reply from monica (project manger for sun education worldwide) stated that "No, you can't change the interface.".
However I also get reply from some yahoo scjd forum stated that is ok to insert new method and modify the signature (to include the throws RemoteException) as long as I had stated the change in design document.
Any one had pass SCJD can help to cleary my questions?
Thanks
Rgds,
Song Jing, Lim
 
Valentin Crettaz
Gold Digger
Sheriff
Posts: 7610
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving this to the SCJD forum. PLease continue the discussion there. Thank you
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!