rendered paste bodyimport java.util.*;import java.lang.*;class BankAccount { String strAccountOwner; long lngAccountNo; double strAccountBalance; public void doCreateAccount(String owner, long number, double balance) { // Create a new account strAccountOwner = owner; lngAccountNo = number; strAccountBalance = balance; } // Return the account owner's name. public String getOwner() { return strAccountOwner; } // Return the account number. long getNo() { return lngAccountNo; } // Return the account balance. double getBalance() { return strAccountBalance; } public void doWithdraw(double dblAmount) { // Withdraw money from the account strAccountBalance = strAccountBalance - dblAmount; } public void doDeposit(double dblAmount) { // Deposit money into the account strAccountBalance = strAccountBalance + dblAmount; }/* getAccountDetails(int AccountNumber) { // Fetch details from an account return null; } int doGenerateAccountNumber(int RandomLimit) { // An attempt to generate a random unique account number, which totally failed .. // Use this to test it; // BankAccount account1 = new BankAccount(); // AccountNumber = account1.doGenerateAccountNumber(9); // System.out.println(AccountNumber); Random GenerateNumber = new Random(1); int no1=GenerateNumber.nextInt(RandomLimit); int no2=GenerateNumber.nextInt(RandomLimit); int no3=GenerateNumber.nextInt(RandomLimit); int no4=GenerateNumber.nextInt(RandomLimit); int no5=GenerateNumber.nextInt(RandomLimit); int no6=GenerateNumber.nextInt(RandomLimit); int no7=GenerateNumber.nextInt(RandomLimit); int no8=GenerateNumber.nextInt(RandomLimit); int no9=GenerateNumber.nextInt(RandomLimit); int no10=GenerateNumber.nextInt(RandomLimit); int no11=GenerateNumber.nextInt(RandomLimit); String sno1 = Integer.toString(no1); String sno2 = Integer.toString(no2); String sno3 = Integer.toString(no3); String sno4 = Integer.toString(no4); String sno5 = Integer.toString(no5); String sno6 = Integer.toString(no6); String sno7 = Integer.toString(no7); String sno8 = Integer.toString(no8); String sno9 = Integer.toString(no9); String sno10 = Integer.toString(no10); String sno11 = Integer.toString(no11); String sresult = " "+sno1+sno2+sno3+sno4+sno5+sno6+sno7+sno8+sno9+sno10+sno11+""; int result = Integer.parseInt(sresult); // It fails here, since sresult is 'invalid' somehow return result; }*/}