Question: In Project ArrayLabs , create a new class named MyArrays Code the following, using the sample code in Lab 2A: Create a string array named
In Project ArrayLabs, create a new class named MyArrays
Code the following, using the sample code in Lab 2A:
Create a string array named Bollywood
Add famous Bollywood actors (minimum 4)
Print each element using one statement per element
Use println for print
Print using a FOR loop and LENGTH COMMAND
Add an element
Search thru an array looking for an element, then print its location
Sort and print using FOR LOOP
Create an int array named Ages
Add ages of family and friends (minimum 5)
Print using a FOR LOOP
Sort and print using FOR LOOP
I need the code in java using eclipse.
I am sending you the sample code just for reference.Please don"t send me the sample code as answer. Its just for reference.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
