Question: In this module you learned about object-oriented programming. You learned about how to create classes and instantiate those classes as objects. You will be creating

In this module you learned about object-oriented programming. You learned about how to create classes and instantiate those classes as objects. You will be creating a Class Diagram that includes Sets, Gets and Work Methods.

Design a class named AutomobileLoan.

  • The class diagram should contain the following Data Fields:
  • 10-Digit loan number of the car loan
  • Make of the car,
  • Model of car, and the
  • A Loanbalance. You can make up the values.
  • Include methods to set values for each data field.
  • Include methods to get values for each data field
  • A method in the class that displaysonly the loan balance within the method.
  • Create the class diagram and write the pseudocode that defines the class.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!