File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes how to handle delete( ), add( )? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "how to handle delete( ), add( )?" Watch "how to handle delete( ), add( )?" New topic
Author

how to handle delete( ), add( )?

xiaoma wang
Ranch Hand

Joined: Mar 04, 2002
Posts: 74
hi, guys:
I have a question: some methods in the Data class are not used in this assignment. But u know, i have a interface which has all the public methods in the Data class and i have to implement this interface in my project. i need to write some code in the override methods such as delete(), add() and .. or just let then empty?
Thanks a lot!
Xiaoma Wang
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17249
    
    6

I just passed the call to the Data class, even though they won't ever be called.
Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
xiaoma wang
Ranch Hand

Joined: Mar 04, 2002
Posts: 74
Thanks Mark, you always save me!
Xiaoma Wang
 
wood burning stoves
 
subject: how to handle delete( ), add( )?
 
Similar Threads
some general questions about assignment
Adding some new methods to Data class.
NX: URLYBird / my approach of the reading problem
URLyBirds Adding and Deleting
DataClient and Adapter class