Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/JavaCourse00/JavaCourseCodes
/ testFor
Method
testFor
01jvm/AnalysisForList.java:5–9 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
3
private
int
[] array =
new
int
[] {1,2,3};
4
5
public
void
testFor() {
6
for
(
int
i : array) {
7
System.out.println(i);
8
}
9
}
10
11
public
void
testForIndex() {
12
for
(
int
i=0;i<array.length;i++) {
Callers
nothing calls this directly
Calls
1
println
Method · 0.80
Tested by
no test coverage detected