Create a folder with yourlastnamefirstinitialle73

Assignment Help JAVA Programming
Reference no: EM13889557

Last lab also for tommorrow. 

Lab Exercise 7.3 Instructions:  Follow these instructions exactly and in the order listed.

  1. Create a folder with YourLastNameFirstInitialLE73.
  2. Inside of that folder create 3 more folders:  In DrJava create a project folder (Creating Projects in DrJava.pdf )  asYourLastNameFirstInitialLE73.     
    1. classes
    2. src
    3. proTeams (this folder stores the Football class and can be within the src folder)
  3. Add the folders to the project (see link in #3 above).
  4. Add a new file to the proTeams folder and call it Football (see link in #3 above).
  5. In the program with the main(), import the Football class.  The import statement will look like this: importnameOfFolder.NameOfProgram;
  6. In the Football program
    1. code a package statement as the very first line:package nameOfFolder;
    2. code 2 fields (class level variables):  one to store the city and the other the team's name;
    3. code 2 overloaded constructors: onethat is parameterless with an empty method body, and the other that will accept 2 arguments through its parameter list.  Use the parameter variables to populate the 2 fields (global variables) with the same name;
    4. code individual set methods that prompt the user for the city and the team's name;
    5. code individual get methods that return each set method's variable.
  7. In the main()
  8. code a Football object using the empty constructor;
  9. use the object to call the methods from the Football class in the proper sequence to produce what is shown in the sample output;
  10. code another Football object by sending to it the team name and the city (look at which constructor you'll be using);
  11. follow the spacing and line advances in the attached sample output.
  12. Don't forget to end the main() with an exit statement.

Reference no: EM13889557

Questions Cloud

Relationship between macbeth and lady macbeth : Characterize the relationship between Macbeth and Lady Macbeth. Whose ambition is the driving force of the play-Macbeth's or Lady Macbeth's or both?
Create a new class called dwelling : 1 Create a new class called Dwelling that includes the functionality below 2.    The new class has the attributes of: category - dwelling's category (i.e.:"House", "Condo", "Apartment","shach",etc.), type String numberOfBedrooms - the number of bedro..
Develop a security plan and recommendation memo to the cio : Develop a Security Plan and Recommendation Memo to the CIO
Explain about merger of us airways and american airway : What is the airline product? Or is it a service? What product and service recommendations would you make to the merged company?
Create a folder with yourlastnamefirstinitialle73 : Create a folder with YourLastNameFirstInitialLE73. Inside of that folder create 3 more folders:  In DrJava create a project folder (Creating Projects in DrJava.pdf )  asYourLastNameFirstInitialLE73.
Oakwood hospital is considering using abc : 1.Oakwood Hospital is considering using ABC analysis to classify laboratory SKUs into three categories:
Number of steps-meters-kilometers and miles : If one food Calorie equals 4184 (joules), how far up could you climb on one cream-filled oreo cookie containing 50 calories? Give your answer in: Number of steps, Meters, Kilometers and Miles.
What are the issues of the time when the book was written : One to Two pages reflection paper on the James Cone "God of the Oppressed"- How James Cone see? -The Struggle of Black people. What are the issues of the time when the book was written
Identify wireless networking concepts : Identify Wireless Networking concepts

Reviews

Write a Review

JAVA Programming Questions & Answers

  Create a secure parts inventory catalog system

You will create a secure Parts Inventory Catalog system using Model 2 architecture. The application will require a user to have the proper access right to enter the system, and when satisfied, presents the catalog of items currently available in t..

  Define multi-threaded programming in java using locks

Define Multi-threaded Programming in Java Using Locks, To practice programming cooperating, synchronized multiple threads of execution

  Prepare a demo program

Design, and implement a class that will be used in a program that simulates a combination lock. The lock has a circular knob with the numbers 0 through 39 marked on the edge, and it has a three-number combination, which we will call x,y,z.

  Prompt the user for an int between an upper and lower

prompt the user for an int between an upper and lower boundary. reuse the validateinput method from project to validate

  Prepare an address book to save the complete information

Prepare an address book to save the complete information of the person - Define the class Address that can store a street address, city, state, and zip code. Use the appropriate methods to print and store the address.

  Hypothetical situation

Hypothetical Situation - A company lowers its price of an economy car a small amount   ($15,000 to $14,000) Sales go from 10,000 units to 50,000 units. Another company lowers its price on a luxury car a large amount ($80,000 to $40,000). Its sales go..

  Uses a 2-d array to store the highest and lowest temperature

Write a program that uses a 2-D array to store the highest and lowest temperatures for each montjh of the year. The program should output the average high, average low, and highest and lowest temperatures of the year. Your program must consist of ..

  App that allows the user to enter a series of numbers

Write an app that allows the user to enter a series of numbers and manipulate them. The app should provide users with the option of adding or multiplying the numbers.

  Multi-threaded programming in java using locks

Assignment on Multi-threaded Programming in Java Using Locks

  Prepare a main method that tests all of your functions

A method that outputs the name and list of all patients - A method that resets the number of patients to 0 and the patientList to an empty list - Prepare a main method that tests (i.e, unit testing) all of your functions.

  Write a java program to simulate a die

Write a Java program to simulate a die. A die has values of either 1, 2, 3, 4, 5 or 6 on the face. You should use the Math.Random() or the java.util.Random() class to generate the values on the die. The program should prompt the user to enter how ..

  Use a loop to allow a user to enter a series of numbers

Use a loop to allow a user to enter a series of numbers and then print out the series of numbers when the user is done. The user stops the lseries program by entering -1 (or any negative number).

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