MCPcopy Create free account
hub / github.com/PrajaktaSathe/Java / main

Method main

Programs/FindIndexValue.java:9–19  ·  view source on GitHub ↗
(String args[])

Source from the content-addressed store, hash-verified

7 return i[val];
8 };
9 public static void main(String args[]) {
10 int a1[] = {1,2,4,51,3,4,5,6,7,2,3,4};
11 int a2[] = {3,2,52,12,4,43,54,5,6,56,56,56,5,11};
12 System.out.println(fun.apply(a1,2));
13 System.out.println(fun.apply(a1,12));
14 System.out.println(fun.apply(a1,7));
15 System.out.println(fun.apply(a1,21));
16 System.out.println(fun.apply(a2,1));
17 System.out.println(fun.apply(a2,11));
18 System.out.println(fun.apply(a2,9));
19 }
20}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected