DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVA
swap function java
public static void swap(int[] a, int i, int j){ int temp = a[i]; a[i] = a[j]; a[j] = temp; }
PREVIOUS
NEXT
Tagged:
#swap
#function
#java
ADD COMMENT
Topic
COMMENT
Name
8+5 =
Submit