First object should be named winterdress

Assignment Help Business Management
Reference no: EM132331200

Does everything look good? If not can you please tell me what I did wrong?

These were my objectives:

1. The first object should be named winterDress and use the default constructor. 2. The second object should be named springDress and use the second constructor to initialize the style to "lace", the color to "green", and the size to 12. Include the following instructions in the main() method, in the order specified below

2. A call to set the color of the winterDress to "yellow".

3. A call to set the style of the winterDress" to "sweater".

4. A call to set the size of the winterDress to 6.

5. A Statement that displays the style of the springDress, using the appropriate method call.

6. A call to change the color of the winterDress to "green".

7. A statement that displays the style of the winterDress, using the appropriate method call.

8. A call for the winterDress object to the method that displays all the information about the dress.

//Dress winterDress = new Dress();

//Dress spingDress = new Dress();

//A call to set the color of the winterDress to "yellow".

winterDress.setColor("yellow");

//A call to set the style of the winterDress to "sweater".

winterDress.setStyle("sweater");

//A call to set the size of the winterDress to 6.

winterDress.setSize(6);

Dress springDress = new Dress("lace", "green", 12);

//A Statement that displays the style of the springDress, using the appropriate method call.

System.out.println(springDress.getStyle(),

// A call to change the color of the winterDress to "green".

winterDress.setColor("green");

//A statement that displays the style of the winterDress, using the appropriate method call.

System.out.println(winterDress.getStyle);

//A call for the winterDress object to the method that displays all the information about the dress.

Call winterDress(winterDress);

Reference no: EM132331200

Questions Cloud

Create a sentence showing average : Show each element (number) in the list 'wz' on a separate line (one value per line). Show as output each element (number) in the list 'wz' that has a value grea
Mindset when deploying these controls in the cloud : Does an organization have the same mindset when deploying these controls in the cloud?
Discuss potential problems that biometrics : Discuss potential problems that Biometrics can have on society. i.e. the use of facial recognition in Islamic countries where the hijab is common.
Appropriate cardinalities and all the applicable constraints : Draw an E-R diagram for the given description. Show appropriate cardinalities and all the applicable constraints. Clearly state any assumptions that you may hav
First object should be named winterdress : The first object should be named winterDress and use the default constructor. 2. The second object should be named springDress and use the second constructor
Best for research in a career such as cybersecurity : What type of sources will work best for research in a career such as Cybersecurity? How can I support my project plan with credible, current, reliable, accurat
List of files and subdirectories in a directory : What CLI command can be used to display a list of files and subdirectories in a directory?
Prompt the user for the values of the equation coefficient : 1.) Prompt the user for the values of the equation coefficient A, B, and C 2.) Promt the user for the range of the integral. (a and b in the picture)
Cloud computing and the benefits of the cloud to businesses : What is cloud computing and the benefits of the cloud to businesses. What is laas, Paas, and Saas. And what is the differences between the three.

Reviews

Write a Review

Business Management Questions & Answers

  Detailing the basic elements of earned value management

For this assignment, write an essay detailing the basic elements of earned value management. Additionally, discuss how the calculated results from EVM are part of an audit.

  Increase the amount of a good produced

If the government wanted to increase the amount of a good produced, without the cost showing up in the budget

  Learned about probability and statistics

Use this information and what you have learned about probability and statistics in this class to answer the following problems/questions:

  Treasury bills versus treasury notes

Treasury Bills versus Treasury Notes and Changes in Interest Rates

  Explain organizational change

Recall extensive change you have witnessed recently inside your company or a company you are familiar with.

  Key environmental pressures on supply chains

What are some of the key environmental pressures on supply chains?

  Why a company or organization might choose to outsource

why a company or organization might choose to outsource its food services or other services. Give a specific example of each named reason.

  Solution to produce a solution

What amount of solid NaOH must be added to 1.0 L of a 0.15 M H2CO2 solution to produce a solution with H+= 3.1 X 10 to the negative 11?

  Collection of principles

Ciarniene and Vienazindiene explain that lean manufacturing is a business management theory that integrates a collection of principles

  Context of csr

In the context of CSR, in what ways did Mattel demonstrate - not social responsibility - but social irresponsibility? Consider how the company's actions may have run counter to the tenets of CSR through its neglect of duty to the company's sharehol..

  Impact of culture on organizational performance

What is the impact of culture on organizational performance?

  Explain what should be the role of training

Explain What should be the role of training and How can training programs be evaluated on their effectiveness?

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