package shengji;

public class muban 
{
    String baobaoming;
    String baobaoleixing;
    String baobaoxingbie;
    public void shengji(String A)
    {
        System.out.print("你的"+baobaoxingbie+baobaoleixing+"宝宝"+
                baobaoming+"等级提升到了"+A+"级!");
    }
    public void shengji()
    {
        System.out.print("AAAAAAAAAAAAAAAAA");
    }
}
package shengji;

public class Ciwei {

    public static void main(String[] args) {
        muban ciwei=new muban();
        ciwei.baobaoleixing="刺猬";
        ciwei.baobaoming="刺肉球";
        ciwei.baobaoxingbie="公";
        ciwei.shengji("18");
        ciwei.shengji();
    }

}