Create a generic loan class that can have its own properties, such as loan amount, currency, interest rate, etc.
Loan class can also have its own methods that calculate the loan principal and other things.
This loan class can then be extended to create second order loans like Home loans.
Create a generic loan class that can have its own properties, such as loan amount, currency, interest rate, etc. Loan class can also have its own methods that calculate the loan principal and other things.
This loan class can then be extended to create second order loans like Home loans.