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.


>> REGISTER NOW TO START POSTING


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

Results 1 to 2 of 2

Thread: eliminating an element in array

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

    Question eliminating an element in array

    The program must ask the user to input an element to search for and prints a message:
    “Found [search key]” then print the remaining data on the next line eliminating the
    searched element.
    Otherwise, it prints: “[search key] not found”


    i dont know how to delete an array. please help???


  2. #2
    Super Moderator jps's Avatar
    Join Date
    Jul 2012
    Posts
    2,642
    My Mood
    Daring
    Thanks
    90
    Thanked 263 Times in 232 Posts

    Default Re: eliminating an element in array

    What have you tried? What do you mean by delete an array, the whole thing or one element?

Similar Threads

  1. How can I remove a element from an array?
    By seaofFire in forum Java Theory & Questions
    Replies: 3
    Last Post: April 23rd, 2012, 03:42 PM
  2. add new element in array
    By allen_k in forum Collections and Generics
    Replies: 3
    Last Post: December 11th, 2011, 03:13 PM
  3. Eliminating Duplicates in an Array
    By m2msucks in forum Collections and Generics
    Replies: 4
    Last Post: October 30th, 2011, 03:03 AM
  4. Taking an element out of an array
    By SlckP in forum Collections and Generics
    Replies: 3
    Last Post: May 5th, 2010, 02:26 PM
  5. how to find an element in an array
    By humdinger in forum Collections and Generics
    Replies: 8
    Last Post: April 9th, 2010, 05:22 PM