I need a code that can perform an add, edit, save, delete, and print using java.
please help me.

What you exactly want to know? No one knows your requirement. And also please keep in mind that no one here to do your assignments here. Show your effort here, and if you stuck on something then let us know. We can help you.