Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codemistic/Data-Structures-and-Algorithms
/ printArray
Method
printArray
Java/Array/Sort012.java:93–98 ·
view source on GitHub ↗
(int [] arr)
Source
from the content-addressed store, hash-verified
91
}
92
93
public
static
void
printArray(
int
[] arr) {
94
int
n = arr.length;
95
for
(
int
i = 0; i < n; i++) {
96
System.out.print(arr[i] +
" "
);
97
}
98
}
99
100
public
static
void
main(String[] args) {
101
int
[] arr = takeInput();
Callers
1
main
Method · 0.95
Calls
1
print
Method · 0.45
Tested by
no test coverage detected