12 lines
334 B
Java
Raw Normal View History

2021-02-03 14:34:48 -05:00
public class Review {
private int rating = -1;
private String comment = "NoComment";
public void setRatingAndComment(int revRating, String revComment) {
this.rating = revRating;
comment = revComment;
}
public int getRating() { return rating; }
public String getComment() { return comment; }
}