Question: creat a java class that has a 2D array of type String. It should have three columns and three rows. The array should have in

creat a java class that has a 2D array of type String. It should have three columns and three rows. The array should have in column 0, the values: Alexandria, Annandale, Loudoun.

In column one the values should be: 001A, 004B, 007C. In column two the values should be 002A, 005B, 008C and in column thee the values should be 003A, 006B, 009C.

Ask the user what campus they want to search. Return all three section numbers for that campus to the user. No need to loop.

Layout of data

Alexandria 001A 002A 003A

Annandale 004B 005B 006B

Loudoun007C 008C 009C

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