下列程序运行,将输出“正方形”,请完成程序代码。class Shape{String shapeName;public String getShapeName() {return shapeName;}public void setShapeName(String shapeName) {this.shapeName = shapeName;}}class Square extends Shape{int length;}class Rectangle extends Shape{int xLen,yLen;}public class Test {static String getShapeName(1 o){returno.getShapeName();}public static void main(String[] args) {Square s = new Square();s.setShapeName("正方形");System.out.println(getShapeName( 2));Rectangle r = new Rectangle();r.setShapeName("长方形");System.out.println(getShapeName( 3));}}