Question: Good evening! Kindly answer this question accurately and fully. Thank you in advance!In a 2 D array, the contained values can be of different data

Good evening! Kindly answer this question accurately and fully. Thank you in advance!In a 2D array, the contained values can be of different data types. One way to manage this is to use the Object data type as
the data type of the array. Sample programs were posted in the File Manager. More guidance and help are to be provided.
Please use this 2D array for this part:
Object[][] inputDatabase = new Object[4][3];
a. In the first 4 lines, your program asks users for data of specific types.
b. Then it displays the data it received from users in 2 different views. The Data Type View must be able to automatically
detect the type of stored data for display. The Data Value View must be able to retrieve the data for display.
c. Your program must behave and produce output identically to the demonstration in the screenshot below.
Row 1| Please enter 3 Integers: 123
Row 2| Please enter 3 Characters: a b c
Row 3| Please enter 3 Strings: hello how bye
Row 4|1 Int, 1 Char, 1 String: 4 d hola
Your 2D array of multiple data types:
Data Type View:
Integer
Character
String
Integer
Data Value View:
1
a
helto
4
Integer
Character
String
Character
2
b
how
d
Integer
Character
String
String
3
c
bye
hola
 Good evening! Kindly answer this question accurately and fully. Thank you

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!