Question
Exercise: (2) Create a class called Dog containing two Strings: name and says . In main(), create two dog objects with names spot (who says,
Exercise: (2) Create a class called Dog containing two Strings: name and says. In main(), create two dog objects with names spot (who says, Ruff!) and scruffy (who says, Wurf!). Then display their names and what they say. Be sure to use setter and getter methods to assign(set) and retrieve(get) values for both Strings name and says.
Your Task:
Create the program using Netbeans and easyUML (i.e: Open a project in NetBeans then create the classes, attributes, and methods in easyUML then generate the skeleton code). Then, provide the needed code in the method bodies. Document all Classes, Attributes, and Methods. Then generate the JavaDocs for the program.
Deliverables:
"ZIP"-up your Netbeans project folder which must contain your program (all files in the src folder), also make sure you upload your UML diagram (upload the .cdg file OR ZIP-and-upload the entire UML projects folder).
please send me the solution in java as soon as possible. Thanks in advance.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started