首页
编程
java
php
前端
首页
编程
java
php
前端
怎么办呐,看看吧别的代码也有这个错误
不会
是不是没有无参构造方法
Cylinder类中,加一个无参构造方法。
public
Cylinder
()
{}
看看构造函数是不是必须传参数,没有默认构造函数。
点击展开全文