Create a uml class diagram for a survey class

Assignment Help JAVA Programming
Reference no: EM131181787

Java programming1

Create a UML Class Diagram for a Survey class, using the application of your choice. Suggested applications are Visio, Word, Excel or Visual Paradigm. The following are requirements of the Survey class:

• The Survey class will have a static class variable that stores the current respondent's ID. As respondents complete the survey, this value will be incremented by one.

• The Survey class will have an instance variable to hold the title of the survey.

• The Survey class should have two overloaded constructors.

o The first constructor should take no arguments. It should set the survey title to a default value of "Customer Survey".

o The second constructor should accept a String value for the survey title. It should reset the static respondent ID to zero. It should set the survey title to the value passed into the constructor.

• The survey class should have a generateRespondentId() method which returns the next value of the respondent ID. This method should increment the static instance variable for the respondent ID by one.

To accomplish the task of developing your Survey class from your designed UML Class Diagram, you will need to implement the following variables and methods:

• Static class variable for the respondentID
• Instance variable for the Survey title
• Two overloaded constructors
• generateRespondentID() method.

Start a Design Document and insert your UML class diagram into your design document. Your Design Document should follow APA formatting and should include in order:

• Title Page
• Table of Contents
• Project Outline
• Sections with Section Headings for each Phase of the Project

Submit your Design Document and your zipped NetBeans project.

Reference no: EM131181787

Questions Cloud

Equation to find the total cost of the bill : Repair-It charges $60 for a service call plus $25 per hour to repair the appliance. Let h represent the number of hours and C represent the total cost for the repair. Write an equation to find the total cost of the bill to fix your appliance after h ..
Is this tax system progressive or regressive explain : Consider the following table, which shows the total amount of taxes paid at different total income levels in a society. For each income level, calculate the effective tax rate. Is this tax system progressive or regressive? Explain.
Two young college graduates opened a chain of print shops : Two young college graduates opened a chain of print shops. The chain expanded rapidly during the early 1990s and many new stores were opened. The number of print shops in operation during any year from 1990 to 2005 is given by the equation y=-2.5x..
Health information management system : "Success Factors" Please respond to the following: Determine what you believe to be the most critical factor for the successful implementation of a health information management system.
Create a uml class diagram for a survey class : Create a UML Class Diagram for a Survey class, using the application of your choice. Suggested applications are Visio, Word, Excel or Visual Paradigm. The following are requirements of the Survey class.
Causal relationship in business process : In order to understand the causal relationship in business process, manager often asks "whys" to drill down the root cause of failures. Select one (1) project from your working or educational environment and propose at least three (3) "why" questi..
Draw a supply-and-demand graph : Assuming no other significant changes in the gasoline market, what can we conclude about the elasticity of demand for gasoline in Autopia?
Discuss the conditions that can affect network performance : Discuss the conditions that can adversely affect network performance, and the current tools as well as procedures that are available to network managers for monitoring and analysis of LANs, interconnected LANs, and other networks.
How should the owner resolve given dispute : What is wrong, if anything, with the general managers approach to making sure that drivers do not steal or act carelessly?

Reviews

Write a Review

JAVA Programming Questions & Answers

  Write java program to evaluate postfix expressions

Write a java program to evaluate postfix expressions containing complex numbers using a stack. This program should contain two classes.

  Part 1product maintenanceyoull create a series of pages

part 1product maintenanceyoull create a series of pages that allow you to add update or delete a product thats

  Statement that creates and initializes a static variable

Write a statement that creates and initializes a static variable named salesTax to 7.59. Write a statement that creates a constant variable named TAX_RATE. The tax rate is 8.25%

  Vehicle in vehicle.java

Create a class called Vehicle in Vehicle.java with instance variables make (such as Ford, GM, Chrysler, Toyota, or Honda), year, and horsepower (200, 300, and 400). Add the necessary constructor and set and get methods.

  Create java applet to represent grade of gas

Write a java applet (not a java application program) for costco gas station. The applet will first ask you whether you are a costco customer, then the grade of gas you want to use.

  Design the appropriate accessor and mutator methods

Design an Employee class that has fields for the following pieces of information: Employee Name Employee Number Next, design a class named ProductionWorker that extends the Employee class.

  Create javascript program to find gross pay for employees

Create JavaScript program which will find out the gross pay for each of three employees. Company pays "straight time" for first 40 hours worked by each employee and pays "time and a half".

  Write a statement that assign a true value to a boolean type

Write a statement that will assign a true value to a Boolean type if the variable named str is equal to "A SU", and false otherwise.

  Determine total annual compensation of a salesperson

Write a Java application using NetBeans Integrated Development Environment (IDE) that calculates the total annual compensation of a salesperson. Consider the following factors: A salesperson will earn a fixed salary of $45,000

  Write a method that returns the last digit of an integer

Write a method named lastDigit that returns the last digit of an integer - It should work for negative numbers as well.

  Write a program that that displays a dialog box

Write a program that that displays a dialog box show a message and a randomly chosen color. This random color is to be used as the background color of a JFrame window which should appear after "OK" is selected

  Program called power that displays the positive powers

Write a program called Power that displays the positive powers of 2. When the user enters the exponent at a prompt, the program displays 2 to that power. The program halts when the user enters -1

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd