This content has been marked as final. Show 2 replies
What does this mean?It means your addLoan method is not static and you're trying to access it from something that is static. You should create a new instance of the method inside the static method so that it is referenced to something.
Cannot make a static reference to the non-static
method addLoan(Loans) from the type LoansRecords
EDIT: Too slow, and too wordy as well.
Message was edited by: