Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Manvityagi/PW-Skills-Java-Course-Codes
/ displayArr
Method
displayArr
Lecture 42 Quick Sort/src/Main.java:2–6 ·
view source on GitHub ↗
(int[] arr)
Source
from the content-addressed store, hash-verified
1
public
class
Main {
2
static
void
displayArr(
int
[] arr){
3
for
(
int
val : arr){
4
System.out.print(val +
" "
);
5
}
6
}
7
static
void
swap(
int
[] arr,
int
x,
int
y){
8
int
temp = arr[x];
9
arr[x] = arr[y];
Callers
1
main
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected