Welcome to the Java Programming Forums

The professional, friendly Java community. 21,500 members and growing!

The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: Phone book program, where to begin?

  1. #1
    Junior Member
    Join Date
    Feb 2012
    Thanked 0 Times in 0 Posts

    Default Phone book program, where to begin?

    Alright, it's been about a year since I've worked with Java being that now my classes are working with C, C++ and Linux. I need to write a program that holds a contacts name, number and address that needs to use a binary search tree. Also, must be able to search, modify, add and remove contacts of course. I've been trying to get started but do not know where to start. So, I basically need pointers on what to start with whether it be making a binary tree class, a class for contacts or a class for the phone book itself. Not necessarily looking for code, but more the direction to start or very broad outline. Any information would be helpful.

  2. #2
    Super Moderator
    Join Date
    Jun 2013
    So. Maryland, USA
    My Mood
    Thanked 688 Times in 675 Posts

    Default Re: Phone book program, where to begin?

    What's stopping you writing the Contact/Person and PhoneBook classes? As for the binary tree, you must have some recent or past experience using binary trees, so refer to your notes, textbook, or previous work for pointers. If not, an Internet search should provide results to help you refresh your memory.

Similar Threads

  1. Java phone book with array PLEASE HELP
    By cardschaos in forum What's Wrong With My Code?
    Replies: 11
    Last Post: April 15th, 2012, 07:25 PM
  2. Java Error cannot be applied to (java.lang.String), phone book entry program.
    By iceyferrara in forum What's Wrong With My Code?
    Replies: 5
    Last Post: September 23rd, 2011, 06:32 AM
  3. phone book with linked list?
    By osloboy28 in forum Collections and Generics
    Replies: 5
    Last Post: September 7th, 2011, 11:28 AM
  4. phone book code problems
    By mu'min in forum What's Wrong With My Code?
    Replies: 2
    Last Post: December 16th, 2010, 10:36 AM
  5. phone book
    By Skat in forum What's Wrong With My Code?
    Replies: 14
    Last Post: December 3rd, 2010, 08:56 AM