Solved

Sorting a simple array by 1 of its fields

Posted on 2004-04-09
3
187 Views
Last Modified: 2010-03-31
I'm really new to java (perhaps you can see that by my question) and i wanted to know how do i sort an array by one of the fields (Name). I'm using Netbeans 3.5.1. Thanks in advance!!!
0
Comment
Question by:hacktek
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 2

Accepted Solution

by:
Thunder_scream earned 50 total points
ID: 10794690
Hi hacktek,
chech this link..might be helpful
http://www.javaalmanac.com/egs/java.util/coll_SortArray.html

Cheers!
0
 

Author Comment

by:hacktek
ID: 10794697
You just hit the spot!!! Thanks a bunch :)
0
 
LVL 2

Expert Comment

by:Thunder_scream
ID: 10794703
hehe.. :) glad I could help
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
Suggested Courses

627 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question