哪里有问题,求解答
第二张图片的Haohaoxuexi2 phone=new Haohaoxuexi2();改成Haohaoxuexi phone=new Haohaoxuexi();就可以了
先保存Haohaoxuexi.java,在把Haohaoxuexi2 phone = new Haohaoxuexi();改成Haohaoxuexi phone = new Haohaoxuexi();
haohaoxuexi.java保存了么?