Respuesta :

Limosa

Answer:

Following are the code.

//declaration of String data type array variable

String week[] = {"mon", "tue", "wed", "thu", "fri", "sat", "sun"};  

Explanation:

Following are the code that is implemented in the programming language:

  • Here, we declare the String data type array variable and assign values in it i.e., week and the following array hold only the same type of elements.
  • Array is the data type that holds the same type of elements at a time and it is also used as the data structure.