Guess the output?
public class TestBinarySearch {
public static void main(String[] args) {
final int[] a = {22,44,55,66,77,88};
a[0]=11;
search(a);
System.out.println("Searching finish");
}
private static void search(int[] a) {
for(int i=0;i
System.out.println(a[i]);
}
}
}
Please provide proper expalnation. Thanks
Answers
Answered by
8
Answer:
it will give both the output if you have written the program write...
Similar questions
English,
6 months ago
Biology,
1 year ago
Biology,
1 year ago
English,
1 year ago
India Languages,
1 year ago