Java Reference
In-Depth Information
3 . To use the Quicksort , simply call Quicksort.qsort( ) . Since qsort( ) is specified as
static , it can be called through its class rather than on an object. Thus, there is no
need to create a Quicksort object. After the call returns, the array will be sorted. Re-
member, this version works only for character arrays, but you can adapt the logic to
sort any type of arrays you want.
4 . Here is a program that demonstrates Quicksort :
Search WWH ::




Custom Search