| Author |
swap()
|
shree vijay
Ranch Hand
Joined: Sep 18, 2000
Posts: 208
|
posted

0
|
Hi, Is there any equivalent to swap(i,j) in Java? Thanks, Shree
|
Regards,<BR>Shree
|
 |
Stephanie Grasson
Ranch Hand
Joined: Jun 14, 2000
Posts: 347
|
posted

0
|
Shree, To swap values within a function, use single-element arrays. See example below: Hope this helps. Stephanie
|
 |
Stephanie Grasson
Ranch Hand
Joined: Jun 14, 2000
Posts: 347
|
posted

0
|
Shree, To swap values within a function, use single-element arrays. See example below: Hope this helps. Stephanie
|
 |
shree vijay
Ranch Hand
Joined: Sep 18, 2000
Posts: 208
|
posted

0
|
Thanks Stephanie, I was curious to know if there was any method equivalent for swap... Just plain lasy ... Shree
|
 |
 |
|
|
subject: swap()
|
|
|