From a class developer’s perspective, a class is designed for use by many different customers.
In order to be useful in a wide range of applications, a class should provide a variety of ways
for customization through constructors, properties, and methods.
class contains two constructors, four
methods, and the
methods for finding the monthly payment and the total payment. You can construct a
object by using the no-arg constructor or the constructor with three parameters: annual inter-
est rate, number of years, and loan amount. When a loan object is created, its date is stored in
method returns the date. The three
—return the annual