`
ejacky
  • 浏览: 32118 次
  • 性别: Icon_minigender_1
  • 来自: 抚顺
社区版块
存档分类
最新评论

Cannot find any information on property 'X' in a bean of type 'Y'

阅读更多
javabean:


package bepa1;

public class TiXing
{
   double sd=1;
   double xd=3;
   double gao=2;
   double TiXingarea=0;
  

   public TiXing()
   {
      sd=1;
   }

   public double getsd()
   {
      return sd;
   }

   public void setsd(double newSd)
   {
      sd=newSd;
   }
   public double getxd()
   {
      return xd;
   }

   public void setxd(double newXd)
   {
      xd=newXd;
   }

   public double getGao()
   {
      return gao;
   }

   public void setGao(double newGao)
   {
      gao=newGao;
   }

   public double getTiXingarea()
   {
      TiXingarea=(sd+xd)*gao/2;
      return TiXingarea;
   }

 
}











分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics