package summer.reflection;

/**
 * @ClassName: demo
 * @Description: TODO
 * @Author: Summer
 * @Date: 2020/5/24 21:52
 * @Version: v1.0.0
 * @Description:
 **/
public class demo {

    public String[] names;
    public void print(){
        System.out.println("parameterlessMethod：" + names.toString() + "hello!");

    }
    public void print2(String[] names){
        System.out.println( "parameterMethod: hello" + names.toString());
    }

    public demo(String[] names) {
        this.names = names;
    }
}
