Question: Write 2 methods 1) A method called findName Input: an array of integers Output: the index in the array of the first 9, or -1

Write 2 methods

1) A method called findName

Input: an array of integers

Output: the index in the array of the first 9, or -1 if not found

2) A method called AB

Input: An array of characters

Output: none

Result: Overwrites every even indexed character with 'A' and every odd character with 'B' (Consider 0/zero even)

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!