2_5323305779468442749
: If a comment does not end with a period ( . ) or an exclamation point ( ! ), you must append a period to the end.
The "ReviewAnalysis" problem asks you to manipulate an array of Review objects. You are required to implement two specific methods that handle data processing and string formatting. Key Components : An array containing Review objects. 2_5323305779468442749
: Use contains("!") to find the exclamation point and endsWith() to check the final character. : If a comment does not end with a period (
: Unlike Part A, you must use a standard for loop (with int i ) because the index number is required for the formatted string. not null .
: If no comments match the criteria, the method should return an empty list, not null .