Start a new project and package called finalproject

Assignment Help JAVA Programming
Reference no: EM131041735

Final Project

A. Write your own name and that of your programming partner on the top of this page.

B. Start a new project and package called FinalProject and set up your programs inside.

C. YOU MAY NOT CONSULT THE SIs for this project. NOR may you use the Internet, copy code from your classmates or anyone else, nor give away code to your classmates. NOR may you discuss concepts with your classmates. You may choose a programming partner with whom to work on this assignment. The design and coding MUST be done sitting together, and each partner must code half of the project while the other partner observes and checks. (Of course, all you need to do is send code to each other's machines if you use your own machines to code.)

D. This problem is designed to give you experience at creating arrays of objects and a custom constructor. Create two classes, a User Class that includes main and a StudentData class. In main, create an array whose base type is StudentData. The array should have five elements. Fill the array with instances (objects) whose types are StudentData. The UML diagram for the class StudentData is described below:

StudentData
firstName: String
- gender: char
- hometown: String
- level: int
- height: int {in inches}
- getName( ): String
- getGender( ): char
- getHometown( ): String
- getHomeCountry( ): String
- getLevel( ): int
- getHeight( ): int
- setLevel( input myLevel: int )

To construct each object, use a constructor with no parameters. The insta members should be initialized using input from the user. To show that your pro gram works, call each instance method at least once for three different objects, and call

getLevel( ) after each call to setLevel( ).

A user should be able to print any entry by providing its array index number.

A user should be able to look-up and find any entry by name. Once a name is found, the program should print the full entry. If the name is not among the entries, the program.

E. You will need to fully document your work, including the following:

a. The names of all authors,
b. The course name and your section(s),
c. The date that the project is due,
d. The title of the project and the purpose of the project,
e. The contract between the user and the program, L The purpose of all routines called, including main, and g. The meaning of all other identifiers.

F. Your deliverable is a hardcopy of your code by this Thursday, April 21, at 5:00 p.n along with a hardcopy of one run. Points will be earned for the following:

The program works according to the above requirements
The program is fully documented
Choice of identifier names is meaningful
Other documentation
Cooperative work skills
Program style
The code is efficient, yet readable (including line spacing and indentation).
The code makes good use of variables, i.e., are values generalized, or are they hard coded, and is the code easy to modify?

Reference no: EM131041735

Questions Cloud

What are the weapons of competition : What are the "weapons of competition" that rival companies in the athletic footwear industry can use to gain sales and market share? What do you see as the key factors for being a successful competitor in your industry? List at least three.
What do your subordinates expect from you on the job : Briefly describe your current position and responsibility. What do your subordinates expect from you on the job? What are the major stress and challenges you face on the job?
Are affirmative action plan goals evidence of discrimination : Are Affirmative Action Plan Goals Evidence of Discrimination?. Xerox Corporation manufactures and markets copy machines and also provides facilities management services through Xerox Business Services (XBS). In the 1990s, Xerox started a Balanced Wor..
Determining the monthly payments : Jake wants to buy a new truck and he has saved $2,350 for a down payment and can make monthly payments of $575. The dealer will finance the truck over 60 months at 1.2% interest with monthly payments. Jack wants a truck costing $35,999; can Jake..
Start a new project and package called finalproject : Start a new project and package called FinalProject and set up your programs inside. his problem is designed to give you experience at creating arrays of objects and a custom constructor.
Marketing ethics and global marketing : At the end of Unit two, a 1600 word paper is due that summarizes your research with respect to one of the following topics: marketing ethics, global marketing, or ‘social media as a marketing tool’.
Consider evaluating the expression : Given a one-argument procedure p and an object a, p is said to ``halt'' on a if evaluating the expression (p a) returns a value (as opposed to terminating with an error message or running forever).
Beginning of retirement : Approximately how much should be accumulated by the beginning of retirement to provide a $2,500 monthly check that will last for 25 years, during which time the fund will earn 8% interest with monthly compounding?
Which side has the more persuasive argument : On what basis could County argue that it is conforming with the criterion at 1715 (3)? On what basis could the state agency argue that County’s application is nonconforming with that criterion? In your opinion, which side has the more persuasive argu..

Reviews

Write a Review

JAVA Programming Questions & Answers

  Write a program to display the customer''s name

Write a program that prompts the salesperson for the name of the customer and the price of the textbooks sold to that customer.• The program should display the customer's name and the total compensation

  Implementing a relatively simple text-compression scheme

You will be implementing a relatively simple text-compression scheme - It should run from the command line.

  Write a code that tests for a match.

Comments in the code tell you where to write your statements. You can use the Mail Order Program in this chapter guide.

  Write a class house that correctly compiles and runs

Write a class House that correctly compiles and runs with the following TestHouse code. You cannot change a single thing in the TestHouse class,

  Write a program called word guessing game.

Write a program called Word Guessing Game. Open the file FourLetterWords.txt and write the contents into an array of Strings (the file has 87 words in it).

  Create file lab7.java with a main method.

Create file Lab7.java with a main method. Inside your main method, write a segment of code which instantiates an object of the Student class (This class has been created for you in the  Student.java  file that is provided as part of this lab).

  Java catering program console based

For this assignment, you are required to design and develop a console (text-based) application for a small catering business. This application will simulate booking appointments, tracking catering jobs and processing payments.

  Use random function to create account number

Add a static method numAccounts that returns the total number of accounts. (Think about why this method should be static -- its information is not related to any particular account.)

  Calculate the age of a person given the birthdate

Assemble a program to calculate the age of a person given the birthdate. The output should print the line "In 2014 you will be ''the age of the person" years old." Code needs to be in assembly language using motorola 68000.

  Explain polymorphism

Explain polymorphism. Do all programming languages have polymorphism, and why or why not? Why is it useful and identify situations where polymorphic behavior would be absolutely necessary

  Create a file that contains your favorite movie quote

Create a file that contains your favorite movie quote. Use a text editor such as Notepad, and save the file as quote.txt. Copy the file contents,

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