Bookmark Topic Watch Topic
  • New Topic

Java Programming

 
Mohammed Mohammed
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi,

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.

Bye
 
Stuart Gray
Ranch Hand
Posts: 410
  • Mark post as helpful
  • send pies
  • Report post to moderator
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
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Report post to moderator
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.

Thanks,
Dave.
 
    Bookmark Topic Watch Topic
  • New Topic