Question: *IN JAVA* Using the arrayLists given below, write a Syllable method that pulls from each arrayList and puts them in another list based on how

*IN JAVA* Using the arrayLists given below, write a Syllable method that pulls from each arrayList and puts them in another list based on how many syllables are in that word/words. Then create another method that writes Haikus called Haiku based on the number of syllables determined by the Syllable method created previously. Each Haiku that is created should be its own object. Finally, allow for user input to put in how many Haikus they wish to be made. Then call the objects and add them to an arrayList. Make sure each Haiku is separated from one another and that each Haiku consists of three lines with the first line containing 5 syllables and the second line with 7 syllables, and the third line having 5 syllables.
ArrayList pondList = new ArrayList();
pondList.add("small pond");
pondList.add("stagnant pond");
pondList.add("roval pond");
pondList.add("stumpy pond");
pondList.add("shallow pond");
pondList.add("flat pond");
pondList.add("muddy pond");
pondList.add("green pond");
pondList.add("blue pond");
pondList.add("pristine pond");
pondList.add("sylvan pond");
pondList.add("happier pond");
pondList.add("immense pond");
pondList.add("deep pond");
pondList.add("clear pond");
pondList.add("grand pond");
pondList.add("large pond");
pondList.add("icy pond");
pondList.add("smaller pond");
pondList.add("tamer pond");
pondList.add("enticing pond");
ArrayList flowerList = new ArrayList();
flowerList.add("attention getting flower");
flowerList.add("bloom flower");
flowerList.add("lofty flower");
flowerList.add("airy flower");
flowerList.add("flower petals");
flowerList.add("flower thorns");
flowerList.add("abundant flowers");
flowerList.add("floral flower");
flowerList.add("succulent flower");
flowerList.add("sensual flower");
flowerList.add("colorful flower");
flowerList.add("ephemeral flower");
flowerList.add("idyllic flower");
flowerList.add("dainty flower");
flowerList.add("flower garden");
flowerList.add("flower field ");
ArrayList animalList = new ArrayList();
animalList.add("squirrel");
animalList.add("koi");
animalList.add("frog");
animalList.add("fluffy");
animalList.add("green");
animalList.add("carp");
animalList.add("orange");
animalList.add("tadpole");
animalList.add("screamapillar");
animalList.add("robin");
animalList.add("red breast");
animalList.add("black");

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!