You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
384 B
13 lines
384 B
public class DouyinMovie extends Movie {
|
|
private String hotValue;
|
|
|
|
public DouyinMovie(String title, int year, double rating, String genre, String hotValue) {
|
|
super(title, year, rating, genre);
|
|
this.hotValue = hotValue;
|
|
}
|
|
|
|
@Override
|
|
public void play() {
|
|
System.out.println("抖音视频:" + getTitle() + ",热度:" + hotValue);
|
|
}
|
|
}
|