Question: Using NetBeans write a CLI application that does the following: Creates an array that holds 15 strings (no duplicates, you choose order) Displays the array

Using NetBeans write a CLI application that does the following: Creates an array that holds 15 strings (no duplicates, you choose order) Displays the array from first to last array element with an enhanced for repetition structure (foreach) Displays the array from last to first array element with a for repetition structure Sample Output Strings from first to last element subscript: Apple Pear Banana Pomegranite Cherry Mango Peach Pineapple Cantelope Watermelon Grape Blueberry Kumquat Lemon Tangerine Strings from last to first element subscript: Tangerine Lemon Kumquat Blueberry Grape Watermelon Cantelope Pineapple Peach Mango Cherry Pomegranite Banana Pear Apple
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
