Question: Problem B Write a java program that creates a 1-dimensional array of type String of size 5. Fill the array with 5 words that will

Problem B

Write a java program that creates a 1-dimensional array of type String of size 5. Fill the array with 5 words that will make a sentence. For instance: "Hello. My name is Barney". One word per array cell. Use a loop to display the contents of the array creating the sentence. Submit the .java file

Problem C

Create a class with an array of type integer of size 15. Fill the array with random integers of size 1 to 1000. Sort the array. Print out the contents of the array. Submit the .java file

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 Accounting Questions!