package com.yyt.moviecrawler.model; public class DoubanMovie extends Movie { public DoubanMovie(String title, double score, String type, String author) { super(title, score, type, author); } // 必须实现父类的抽象方法 printInfo() @Override public void printInfo() { System.out.println("豆瓣电影:《" + getTitle() + "》 | 评分:" + getScore() + " | 导演:" + getAuthor()); } }