In Java B. Create class and name it as ArrayOperation. Write the main function In the main function, define array of one dimensional size of 5, of type Sring . The name of the array is StringList....



In Java


B. Create class and name it as ArrayOperation.



  • Write the main function

  • In the main function, define array of one dimensional size of 5, of type Sring . The name of the array is StringList.

  • Store the followings values into the array "Information", "Science", "Math", "Data base", "Machine Learning"


  • Create function and name it as The type of function is void, and it has String array of one dimensional. The name of the array is StringArr defined in the function header as formal parameter. UpperCase function should convert all the values of the array to upper case words.

  • Create function and name it as The type of function is void, and it has String array of one dimensional. The name of the array is StringArr defined in the function header as formal.


LowerCase function should convert all the values of the array to lower case words.



  • Create function and name it as PrintArray. The type of function is void and it has String array of one dimensional. The name of the array is StringArr defined in the function header as formal parameter. PrintArray should print all the values of the array.

  • Test UpperCase, LowerCase, PrintArray in the main function.



Jun 10, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here