Question: JAVA question? * Write a private method called rectangleBox that takes a list of strings, and * prints them, one per line, in a rectangular
JAVA question?
* Write a private method called rectangleBox that takes a list of strings, and
* prints them, one per line, in a rectangular frame.
* For example: the list ["Hello", "World", "in", "a", "frame"] gets printed as:

if add another long word to the array the box or frame should printed as:

* Hello * * World * * in * * frame * kkkkkkkkk * Hello * World * in a * frame * Supercalifragilisticexpialidocious. * kkkkkkkkkkkkk
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
