Question: #Java Language #GUI I am confused how to prevent duplicated customer id entry by using the binary search of sorted array. Please help me. This

 #Java Language #GUI I am confused how to prevent duplicated customerid entry by using the binary search of sorted array. Please helpme. This is a part of my code. public void sort(){ for(int

#Java Language #GUI I am confused how to prevent duplicated customer id entry by using the binary search of sorted array. Please help me. This is a part of my code. public void sort(){ for(int k = 0; k 0) { Rentallnfo tempCust = rentalList[jl: rentalList[j] = rentalList[j+1]; rentalList[j+1] = tempCust; } } } } public boolean contains1 (String custID { boolean idFound = false; int i = 0, r = i; int m = (1+r)/2; while(l

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!