jQuery in Action, 3rd edition
The moose likes Java in General and the fly likes Java Programming Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Reply locked New topic

Java Programming

Mohammed Mohammed

Joined: May 12, 2005
Posts: 2

im new about java programming.anyone here knows how to create a record that contain add,delete and search using java programming codings.maybe you can help me.Ok hope to hear from all of you soon.

Stuart Gray
Ranch Hand

Joined: Apr 21, 2005
Posts: 410
Hmmm, if you are new to Java I think this should be in the beginners forum.

Anyway, you can solve your problem by creating one class of your own, and using another class from the library that comes with Java.

First, create a class that represents one of the items you want to store. For example, if you want to store data about people, create a class that represents a single person and all their attributes (name, age, etc).

Then you need to create many instances of your class and store them somewhere together. The Java library provides different classes to help you do this, delete items, search for items, and more. Start with the ArrayList class.

I've tried to give you some general pointers. I hope this helps. If you need any more specific help, of course feel free to ask.
David O'Meara

Joined: Mar 06, 2001
Posts: 13459

This is a duplicate of the same question in the JDBC forum. This copy will be closed.

Please don't post the same question in multiple forums, it creates duplicate conversations and wastes tyhe time of the people trying to help you.

I agree. Here's the link: http://aspose.com/file-tools
subject: Java Programming
It's not a secret anymore!