Question: Write a Java program that tests the method hasValues0. hasValues0 receives two integer arrays, both sorted in increasing order, gib and little. Code has Values(0

Write a Java program that tests the method hasValues0. hasValues0 receives two integer arrays, both sorted in increasing order, gib and little. Code has Values(0 so that it returns true if all the numbers in little appear in big and false otherwise. Perform the following tests . hasValues([1,2,3,4], [2,3])---> true hasValues([2.3,4], [3,4,5]) false hasValues([1,2.3,4], [3,4]) -true
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
