Computer Science, asked by pratham2321999shinde, 4 months ago

Find last index of element
aparan , array to search
@paran y value to look for
@return last index of 7 in x; -1 if absent
@throws NullPointerException if is null
public int find Last (int[] a, int y)
{
for (int i-xlength-1; i > 0: 1--)
if x[i] - y)
retuni;
}
test: A- [235]. y - 2. Expected - 10
Book website. Find Last jara
Mr Book, website Fmdat Test Java
a) create an IDM for "find Last": define characteristics and blocks
b) if the base choice criterion is applied, how many test requirements will you have? Give a Base case
and explain why you choose that​

Answers

Answered by ShriyanshKumarJha
0

Answer:

looking

.....................................

Similar questions