Question: Pick up one object in real world, and design a class to generate this type of objects. Include at least two instance variables , one
- Pick up one object in real world, and design a class to generate this type of objects.
- Include at least two instance variables, one static variable, and two instance methods in the class design
- Include the public, private, static and this keywords in the class definition
- Create the UML diagram, UMLdiagramTemplate.docx
Actions
(download the template file) - Implement the [class_name].java file
- Write a driver function (the main method) in the [class_name].java file to create at least one object and invoke all methods you created.
Submit the source file ([className].java) and UML diagram file ([className]UML.docx) and screenshot of the test run. Include both programmers' names and IDs in both the java source file and UML file.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
