Question: Lab 0 6 Array [ ] & ArrayList > Complete ALL exercises. Submit the Java program file of ALL exercise to Moodle. ( you

Lab 06 Array[]\& ArrayList>
Complete ALL exercises.
Submit the Java program file of ALL exercise to Moodle. (you may zip all files)
NOTE:
50\% deduct with out detail comments in your program.
NO mark given in Ex6a if not use arrayList>.
Ex6a
Write a program call breakParts that break a series of characters (stored in an ArrayList>) in two parts (first-part) and (second-part) based on a given break-point.
Examples:
a. given the arrayList> of characters [a, b, c, d, e, f, g, h, i, j, k], and the break-point is e, the program breaks the given ArrayList> to two parts, [a, b, c, d] and [e, f, g, h, i, j, k]. Note the break-point will be the first element of the second part.
b. given a list of characters [a, b, c, d, e, f, f, h, l, j, k] and the break-point is f, program breaks the given ArrayList> to two parts, [a, b, c, d, e] and [f, f, h, i, j, k].(Broken based on the first match)
You ir dicnlas will ho-
c. given a list of characters [a, b, c, d, e, f, f, h, l, j, k], and the break-point is m, the program will display an empty list.
Vouir dienlas mill ho-
NOTE: for this program, the use of ArrayList> is MUST. You are also required to design the program user interactions. Provide detail comments on your work is essential.
Lab 0 6 Array [ ] \ & ArrayList < > Complete ALL

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!