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.
16 lines
483 B
16 lines
483 B
package com.yyt.moviecrawler.model;
|
|
|
|
public class XiaohongshuMovie extends Movie {
|
|
|
|
public XiaohongshuMovie(String title, double score, String type, String author) {
|
|
super(title, score, type, author);
|
|
}
|
|
|
|
@Override
|
|
public void printInfo() {
|
|
System.out.println("小红书电影:《" + getTitle() + "》"
|
|
+ " | 评分:" + getScore()
|
|
+ " | 类型:" + getType()
|
|
+ " | 作者:" + getAuthor());
|
|
}
|
|
}
|