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 3 of 3

Thread: Java: Sorting int array in asc and desc

  1. #1
    Junior Member
    Join Date
    Apr 2013
    Location
    Karachi, Pakistan
    Posts
    2
    My Mood
    Fine
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Java: Sorting int array in asc and desc

    Please anyone guide me, How to sort an int array in ASC and DESC ?


  2. #2
    Super Moderator copeg's Avatar
    Join Date
    Oct 2009
    Location
    US
    Posts
    5,225
    Thanks
    176
    Thanked 817 Times in 760 Posts
    Blog Entries
    5

    Default Re: Java: Sorting int array in asc and desc

    Suggested reading:
    Arrays (Java Platform SE 6) (the API should be your first resort, as should an internet search)
    Sorting algorithm - Wikipedia, the free encyclopedia
    If you don't understand either, than I recommend stating why

  3. The Following User Says Thank You to copeg For This Useful Post:

    Abyd Ars (April 7th, 2013)

  4. #3
    Junior Member
    Join Date
    Apr 2013
    Location
    Karachi, Pakistan
    Posts
    2
    My Mood
    Fine
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Re: Java: Sorting int array in asc and desc

    Thanks for API link, I didn't get knowledge about this,
    well thanks.

Similar Threads

  1. help in sorting the array
    By alloka in forum What's Wrong With My Code?
    Replies: 5
    Last Post: October 15th, 2012, 01:54 PM
  2. Sorting an array
    By thebestpearl in forum Collections and Generics
    Replies: 5
    Last Post: April 17th, 2011, 08:58 PM
  3. Replies: 4
    Last Post: November 14th, 2010, 10:44 AM
  4. Sorting an Array
    By Prince_85 in forum Algorithms & Recursion
    Replies: 2
    Last Post: February 21st, 2010, 02:00 PM
  5. Object array to int array?
    By rsala004 in forum Collections and Generics
    Replies: 1
    Last Post: October 30th, 2009, 04:09 AM

Tags for this Thread