public class Review
extends java.lang.Object
Constructor and Description |
---|
Review(int rating,
java.lang.String[] text)
Creates a review object with the provided score and review text.
|
public Review(int rating, java.lang.String[] text)
score
- - The numeric score (0-4)text
- - An array of words representing the text of the movie review.public int getScore()
public java.lang.String[] getText()