Question: Description: A variation of the first MultiGreeter assignment, this time working with lists. Assignment: Create a MultiGreeter class with the following capabilities: Feature Signature Requirement
Description:
A variation of the first MultiGreeter assignment, this time working with lists.
Assignment:
Create a MultiGreeter class with the following capabilities:
| Feature | Signature | Requirement |
| Constructors | None needed |
|
| Methods | public static List getGreetings(List | Returns a list of greetings of the form Hello, name! where the name is from the list of names provided. The order of names in the greetings will correspond to the order of names provided. If the provided names list is empty, the list of greetings will contain only the default greeting Hello, World! If the provided names list is null, the method will throw a NullPointerException. |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
