|
I don't think you can have overloaded operators in Java.
|
# ¿ Jun 20, 2008 00:28 |
|
|
# ¿ May 19, 2024 19:37 |
|
mistermojo posted:ok, I have another problem with the same code: After search, my sortarray has a list of values. However, when I check right after search(args); in the main, it says sortarray is empty. I'm not sure why this is. Here's the code: http://www.2shared.com/file/3550150/fe98a50b/Sort.html Your search method is returning a value, but you're not doing anything with it. code:
code:
You'll probably also want to do something similar with bubblesort(), seeing as you've set it up to return the sorted array.
|
# ¿ Jul 5, 2008 23:51 |