Question: This is for Java Lab 08.1.1 - String 2D Array with Initializer List Write a program to define a 2x3 two-dimensional String array using initializer

This is for Java

This is for Java Lab 08.1.1 - String 2D Array with InitializerList Write a program to define a 2x3 two-dimensional String array using

Lab 08.1.1 - String 2D Array with Initializer List Write a program to define a 2x3 two-dimensional String array using initializer lists to provide beginning values. Decide what type of values you will use and define an appropriate variable name. The video example used "class Room" since the values included were students in a classroom. You may choose any type of data you want. For example, you might do dress styles, like "skirt", "shift", or "gown", etc and call the variable "dresses", or you might do car brands and call the variable, "carMakes", using values like "Ford", "Chevy", "BMW", etc. Define code to output all original elements, and then change three of the elements to a different value, making the new values in all caps, and then output all the elements again. Output a blank line between the two output sets. Use the code provided to help get you started 11/Starter Code public class Lab811 { public static void main(String[] args) { String [] [] classroom {{"Bob", "Carol", "Ted"}, { "Mary", "Seema", "Marcus"} }; C:\... Bob System.out.println(classRoom [0][0]); System.out.println(classRoom [0][1]); Carol System.out.println(classRoom [O] [2]); Ted classRoom [1] [1] "LILY"; LILY System.out.println(); System.out.println(classRoom[1] [1]); } Lab 8.1.1 Starter Code

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!