Differentiate between specification and implementation

Assignment Help Business Management
Reference no: EM131768491

Java

1) Be able to differentiate between specification and implementation both for classes and for individual methods.

public class Human implements Employable{

    private int age = 5;

    private String name;

 public String getName( ){

return this.name;

    }

    public String setName( String nm){

        if( okName(nm) ) name = nm;

    }

    private static boolean okName(String xyz){

        return xyz.length()<50;

   }

Write a complete specification for Human.

2) Be able to write object-oriented code. Be able to use Exceptions.

Add code to the previous class Human that provides a constructor that allows the client to initialize the name of a human, but refuses to construct a Human if the name given by the client is not an ok name.

Understand ADT's stack, queue, deque, set, and map and be able to choose and use appropriate corresponding Java classes to solve problems.

When Employees are hired we keep track of their data. 

The primary thing we need to do with this data is to fire Employees, and we always fire the Employee who has the least seniority. 

Choose between Stack Queue, Deque, Set, and Map as a good collection for holding our Employees.

Explain your choice.

Reference no: EM131768491

Questions Cloud

Discuss what is your annual payment : Assuming you bought the house on January 1, what is the principal balance after one year
Database system approach to managing data : Describe the major advantages and disadvantages of a database system approach to managing data?
Identify two potential partnerships that you would establish : Identify two potential partnerships that you would establish in order to support your client and those like him or her outside of the therapeutic environment.
How does alternative splicing affect the disorder : How does alternative splicing affect the disorder? Does abnormal chromatin remodeling affect other genes? Where in the gene does the aberrant splicing occur?
Differentiate between specification and implementation : 1) Be able to differentiate between specification and implementation both for classes and for individual methods.
Determining the health risk in smoking : The A & B Tobacco Co., a U.S.-based multinational company with its headquarters in Dallas, Texas, has manufactured and sold cigarettes in the United States.
What will be the accounting for a bond premium : what will be the accounting for a bond premium, will it include a credit to the account Other financing source bond issue premium
Create necessary journal entries on the books : On December 31, assume the investee reports a net income of $100,000 for the year. Please help create necessary journal entries on the books of the investor
Identify the license requirements for your chosen profession : Identify the license requirements for your chosen profession including the name of the government agency through which you would apply for a license.

Reviews

Write a Review

Business Management Questions & Answers

  Knowledge of corporate ethics scandals

Based on your knowledge of corporate ethics scandals, unethical behavior, and the impact of SOX legislation and your chosen research, discuss the following:

  Explain differentiate descriptive and historical

Explain Differentiate descriptive and historical and correlational and experimental research methods

  Create one innovative approach that is not discussed

Create one innovative approach that is not discussed in the textbook for increasing the amount of innovation within a large company.

  Individual member accountable for the entire project

1. Vote to exonerate the three group project members who didn't cheat. You're convinced they had no reason to suspect Paul Colgan of dishonesty. Exon-erating them is the right thing to do.

  Accepted exceptions to the rule of informed consent

Next discuss the three generally accepted exceptions to the rule of informed consent, and when they would be applied.

  Write total of three pages about ebay company

Write total of 3 pages about ebay company. Follow instruction below. Page one: Executive summary - one page. Page two: Industry background - one page. Page three: Develop Information System (IS) strategy - one page.

  What type of factors change decision to centralize

What type of factors change decision to centralize or decentralize authority over time in the comparative environment like the home building supply?

  Explain the methods for establishing component priorities

Describe The Methods For Establishing Component Priorities, Including: Business Functions And Processes, Bia Scenarios And Components and Financial And Service Impact Of Components Not Being Available.

  How much was added to gemany gdp

Volkswagen company is Germany own company with a massive factory in Mexico. In 2013, the Volkswagen Mexican factory produced $335 worth of cars.

  Calculate the amount of the firms gross

Evening Story Corporation has sales of $4,191,100; income tax of $541,634; the selling, general and administrative expenses $202,062; depreciation of $372,036; costs of goods sold of $2,538,190; and interest expense of $158,620. Calculate the amou..

  Question about scenerios for organizational psychology1

question about scenerios for organizational psychology1. organizational psychology is a branch of

  Justify alternative dividend policies

Justify alternative dividend policies a company can employ and relate your discussion to Modigliani and Miller's irrelevance theory in one or two paragraphs.

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