account policies 帐号封锁A.错误B.正确
account policies 帐号封锁
A.错误
B.正确
相关考题:
GivenanHttpServletRequestrequest,whichretrievesanobjectoftypeAccountwithanIdof“account”?() A.Accountaccount=request.getResource(”account”):B.Accountaccount=request.getAttribute(“account”):C.Accountaccount=request.getParameter(account”):D.Accountaccount=(Account)request.getResource(“account”):E.Accountaccount=(Account)request.getAttribute(“account”):F.Accountaccount=(Account)request.getParamter(“account”):
现有人编写了帐号类Account,用于管理个人的存款余额, public Account{ private double balance; //帐号余额,余额最低为0 public double getBalance(){ return balance; } Public void setBalance(double b){ balance=b; } public double withdrawl(double money) throws Exception { //取款,money如果为负数或余额不足,抛出异常 } } 请用错误推测法为withdrawl()函数至少设计3个测试用例,并写出基于Junit的测试代码 。
图10是某应用系统的登录流程图,小王在连续2次输入错误密码后,第3次输入了正确密码,则发生的事件是( )。 A.锁定帐号B.退出帐号C.结束应用D.登录帐号