假设银行(Bank)按整年year(只能取正整数)计算利息,利息计算公式为: interest=year*0.35*savedMoney ,其中savedMoney 为存款 中国建设银行(
packageCh5;publicclassBankSucceed{publicstaticvoidmain(String[]args){Construction_Bankcb=newConstruction_Bank(100000,3);System.out.println("得到的本息共:"+cb.get_allMoney());}}classBank{protectedintsavedMon