Searcher.java
上传用户:hensond
上传日期:2021-12-27
资源大小:817k
文件大小:1k
- package com.company.section2;
- /**
- * @author cbf4Life cbf4life@126.com
- * I'm glad to share my knowledge with you all.
- * 星探
- */
- public class Searcher extends AbstractSearcher{
- public Searcher(IGoodBodyGirl _goodBodyGirl){
- super(_goodBodyGirl);
- }
- public Searcher(IGreatTemperamentGirl _greatTemperamentGirl){
- super(_greatTemperamentGirl);
- }
-
- //展示美女的信息
- public void show(){
- System.out.println("--------美女的信息如下:---------------");
- if(super.goodBodyGirl != null){ //展示外形美的美女
- super.goodBodyGirl.goodLooking();
- super.goodBodyGirl.niceFigure();
- }
-
- if(super.greatTemperamentGirl != null){
- super.greatTemperamentGirl.greatTemperament();
- }
- }
- }