Re: Help me with references
- From: "Kenneth P. Turvey" <kt@xxxxxxxxxxxxxxxxxx>
- Date: Mon, 15 Aug 2005 15:44:14 +0000
Masamunexiii wrote:
> i am working on bubblesort method and the swap method is giving trouble
> because the values are being change,there are byval. So i looking for
> a way to make swap work and change the values of the arguments.
Others have pointed you in the right direction to get your code to work, but
I have to ask, "Do you really want to implement bubble sort?"
If this is just a learning exercise then that's great, but if you really
want to sort something there really isn't ever a good use for bubble sort.
You should probably let Java do the sorting for you unless you have a
reason to use a specific algorithm. That algorithm will never be bubble
sort.
--
Kenneth P. Turvey <kt@xxxxxxxxxxxxxxxxxx>
.
- Follow-Ups:
- Re: Help me with references
- From: Oliver Wong
- Re: Help me with references
- References:
- Help me with references
- From: Masamunexiii
- Help me with references
- Prev by Date: Re: importing external package into applet..
- Next by Date: String Array Uppercase
- Previous by thread: Re: Help me with references
- Next by thread: Re: Help me with references
- Index(es):
Relevant Pages
|