In the diagram shown in Figure 10, both the Professor and Student classes implement the Person interface and do not inherit from it.

 
  • 在图10中显示的图中,Professor和Student类都实现了Person的接口,但并不从它继承。
今日热词
目录 附录 查词历史