
-----------------------------------
sh4dow
Tue Jan 27, 2009 12:24 pm

Plz help
-----------------------------------
So I have this program to compare slection, merge and bubble sort and time them to see which one is the fastest but it doesn't run. I would appreciate if someone can edit this.  

import java.util.Arrays;
import java.util.List;

public class sort {

	public static void main(String


Mod Edit: Remember to use syntax tags! Thanks :) [syntax="java"]Code Here[/syntax]

-----------------------------------
DemonWasp
Tue Jan 27, 2009 1:45 pm

RE:Plz help
-----------------------------------
First, use [ syntax = "java" ] [ / syntax ] to make your code readable.

Second, we aren't going to fix your code for you, unless the error is very very minor.

Your code seems to run fine for me (though the output isn't actually sorted). What problem, specifically, are you encountering? What steps have you taken to diagnose / fix it?
