6、ublegetc(){//实现求周长的方法//TODO自动生成的方法存根c=4*;returnc;}publicdoublegetSideLenth(){returnsideLenth;}publicvoidsetSideLenth(doublesideLenth){=sideLenth;}publicstaticvoidmain(String[]args){Squaresq=newSquare();doublea,z;();a=();z=();("正方形面积是"+a);("正方形周长是"+z);}} public