Question: Please answer by using Java. In-Class Exercise 11 - Introduction to Arrays In this exercise we will create several types of arrays and add data

 Please answer by using Java. In-Class Exercise 11 - Introduction to Please answer by using Java.

In-Class Exercise 11 - Introduction to Arrays In this exercise we will create several types of arrays and add data to them. Create a class called ICE11 and write your code in the "main" method of this class. 1. Create an array of type int with length 4 II. Create an array of type String with length 4 III. By using the Random class, store a random number between 0 and 10 in each cell of the array IV. Go through the integer array items one by one and check the value. If it is an odd number, put "ODD" in the corresponding cell of the String array. If it is even, put "EVEN" V. For instance if the first array contains 2,7,3,8 the String array should contain "EVEN", "ODD", "ODD", "EVEN". VI. Use the print() statement and print out the contents of the string array

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!