Design a class named loan that holds an account number,name of account holder,amount borrowed,term and interest rate.includes method that prints all the loan information create the class diagram and write the pseudocode that defines the class using java.