publicstaticdoublecalculateSalesCommission(double x,double y)// 给定月份和年份,打印该月的日历publicstaticvoidprintCalendar(int x,int y)// 返回一个数的平方根publicstaticdoublesqrt(double x)// 测试一个数是否是偶数,如果是则返回 truepublicstaticbooleanisEven(int x)// 按指定次数打印某条信息publicstaticvoidprintMessage(int x)// 给定贷款额、还款年数和年利率,计算月支付额publicstaticdoublecalculateMonthlyPayment(double x,double y,double z)// 对于给定的小写字母,给出相应的大写字母publicstaticchartoggleCase(char x)
Q:确定并更正下面程序中的错误:
publicclassTest_06_04_09{publicstaticmethod1(int n, m){ n+= m;method2(3.4);}publicstaticintmethod2(int n){if(n>0)return1;elseif(n==0)return0;elseif(n