Provide the answer of this program
Question: Need a console program that repeatedly prompts the user to enter data until they type done (any case, Upper, Lower, or Mixed).
As they enter the data, assign it to a two-dimension array where the first dimension contains exactly what they type and the second dimension contains the first non-whitespace character of what they type, in lowercase.
If they enter a blank line, it is acceptable to skip that line. When they type done, do these steps:
Part -1: display: As Entered a1. for each entry in the array, display the index of the first dimension, the second dimension's value, and the first dimension's value on a single line separated by : (colon).
Part -2: display: Bubble Sorted b1. for this sort, each entry in the array, display the original index of the first dimension, the second dimension's value, and the first dimension's value on a single line separated by : (colon) sorted by the second dimension.
Part -3: display: Selection Sorted c1. for this sort, each entry in the array, display the original index of the first dimension, the second dimension's value, and the first dimension's value on a single line separated by : (colon) sorted by the first dimension
Make this program using java programming. Create this program in simple way.