Overview
Software is more about design and organization than about the language and syntax rules of curly braces and semicolons. You should be able to look at a UML class diagram and picture the code that is built from it. Conversely, given a set of classes, you should be able to create a UML class diagram from them. There are even commercial tools that can do that translation back and forth for you: from diagram to code and back.
Now that you have downloaded the Java Development Kit (JDK) and the integrated development environment (IDE), Eclipse, to your desktop, you will use this as an opportunity to examine the source code files to create a UML class diagram.
Prompt
Getting Set Up
Please note: You should have completed these steps during the Technology Setup task.
If you have not already done so, download the zipped file folder that contains the source code files from Hands-on Design Patterns With Java: Chapter 2 (Bicycle.java, Driver.java, TwoWheeled.java, and Vehicle.java). Please note: The Driver.java class is the program driver.
Open your IDE, Eclipse, and create a new Java project.
Upload the zipped file folder with the Java code into the Eclipse project. A tutorial is available for uploading files to Eclipse: Uploading Files to Eclipse Desktop Version Tutorial PDF.
UML Class Diagram
Examine the source code and classes.
Develop a UML class diagram for the application using Lucidchart. A tutorial for creating a free Lucidchart account to design UML diagrams is available: Lucidchart Tutorial for Creating Class Diagrams PDF.
Your class diagram must include all classes and demonstrate the relevant object-oriented programming principles.
Briefly describe the object-oriented programming principles illustrated in the class diagram.
Cross-Cultural Management Assignment Report: Importance, Challenges & Strategies in Global Teams
Read MoreStrategic Planning Assignment: Business Strategy Report for Long-Term Organizational Success
Read MoreK17SW Web Design Assignment: Happy U Programming Competition Website for “Program the Future” Event
Read MoreBusiness Economics Assignment 3: Case Study Analysis on Price Controls in Pharma and Monopoly Power in Airline Industry
Read MoreProcurement Management Assignment: Comparative Study of Methods for Large-Scale Projects
Read MoreACC70304 Financial Analysis Assignment 2: ABC Pte Ltd Case Study on Ratio Interpretation & Executive Reporting
Read MoreCT127-3-2-PFDA Retail Data Analytics Assignment: Customer Ratings Case Study for R-Based Insight Generation
Read MoreCapital Budgeting Assignment : PIONG Corporation Case Study for NPV, IRR & Risk Analysis
Read MoreACC70304 Cost-Volume-Profit (CVP) Analysis Assignment 3: ABC Pte Ltd Case Study for Strategic Decision Making
Read MoreSIS Assignment 2 Report: AI-Driven ESG Analytics Case Study for Sustainable Investment Strategy
Read More