Question: Design, Draw UML Class Diagram, and Implement a Java Course Class. For this discussion, you practiced designing a Java class called Course, drawing a UML
Design, Draw UML Class Diagram, and Implement a Java Course Class.
For this discussion, you practiced designing a Java class called Course, drawing a UML class diagram for the Course class, and then implementing the Course class in Java code. Review the Resources section to help you with this discussion.
- Design a Java class called Course that has the following attributes:
- code a string field to store the course code (e.g., IT2000).
- creditHours an int field to store the credit hours of the course (e.g., 6).
- Draw a UML class diagram for the Course class. Then implement your design of the Course class in Java.
- Provide a screenshot of the result of your work.
- Explain, briefly, how you completed this exercise
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
