java吧 关注:1,241,212贴子:12,712,417
  • 0回复贴,共1

考试问题,求帮助 关于数组的 如下

取消只看楼主收藏回复

Suppose that the 'BankAccount' class contains method with the header
public boolean isOverDrawn( )
which returns true if this BankAccount is overdrawn and false otherwise. Write Java code for a static method that has a single formal parameter called accountsArray of type BankAccount [ ] and returns the number of overdrawn accounts in accountsArray.


1楼2017-05-08 23:42回复