用JAVA编写一个类利用对象输出三角形的面积和周长publiClasstriangle {intx,y,z; //这是三角三角privateVoidTrian elimeter(){returnth...