Word of Advice -
|
Program 1: Arrays and Strings |
static final String[][] dictionary = { { "apple", " a delicious fruit." }, { "french", "a language spoken in France." }, { "coffee", "a beverage, often served hot." }, { "rose", "a popular flower." }, { "sofa", "a piece of furniture people sit on." }, { "coat", "a clothing article humans wear to keep warm." } };
Program 2: Two-dimensional ArrayList |
Initial matrix:
11 | 22 | 33 |
44 | 55 | 66 |
77 | 88 | 99 |
Matrix rotated 90 degrees:
77 | 44 | 11 |
88 | 55 | 22 |
99 | 66 | 33 |