superこれはまだよくわかりません.

2624 ワード

 1 abstract class Report {

 2     void runReport() {

 3         System.out.println(" ");

 4     }

 5     

 6     void printReport(){

 7         System.out.println(" ");

 8     }

 9 }

10 

11 public class BuzzwordsReport extends Report {

12     void runReport() {

13         // 

14         super.runReport();// ,super

15         System.out.println(" ");

16     }

17     

18     public static void main(String[] args) {

19         BuzzwordsReport br = new BuzzwordsReport();

20         br.runReport();

21     }

22 }