By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,644 Members | 1,312 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,644 IT Pros & Developers. It's quick & easy.

Wedge:exit code for process is 1. For loops. Selection Sort

P: 1
So, I keep getting "wedge2: exit code for process is 1."

public static String[] alphaName(String[] nameList)
String temp="",low="";
int lowest=0, current=0;
for(int i=0; i<nameList.length-1;i++)
for (int j=i+1; j<nameList.length;j++)
return nameList;
My for loop looks like that and it is encountering the problem at the compareTo(). Any suggestions?
Apr 29 '12 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.