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

  Three most primary forms of loops: the while loop, the do..

explored the world of loops we have accepted the three most primary forms of loops: the while loop, the do...while loop (even though Python does not use this loop), and the for loop. The for loop has approximately three primary implementations that w..

  Program that uses a library database of books

Write a Java program that uses a library database of books and patron data, as described in Exercise R22.2. Patrons should be able to check out and return books.

  Design and implement a set of classes and interfaces and

design and implement a set of classes and interfaces and use them to evaluate the rtas resource requirements.nbspyour

  Print two random integers

Type two statements using nextInt() to print two random integers between 0 and 9. End with a newline. Ex:

  Write a program that starts a player off with a bank of $15

Write a program that starts a player off with a bank of $15.00.

  Illustrate how to create a bufferedinputstream

What are Buffered Input / Output Streams and why are they used - write some Java code to illustrate how to create a BufferedInputStream.

  What is the smallest exponent

In storing number in a string of 16 bits, the first bit is used for the sign of the number, and the next 5 bits store the exponent plus the bias, and the remaining 10 bits store the mantissa. The bias is 15.

  Write a java program that prints the numbers from 1 to 125

Write a Java Program that prints the numbers from 1 to 125. But for multiles of three print "Batman" instead of the number and for the multiples of five print "Superman". For instances which are multiples of both three and five "JusticeLeague".

  Implement a modified version of the card game war

Implement a modified version of the card game WAR

  Console application for a small car servicing company

Develop a program for the service department staff - Console application for a small car servicing company

  Writing a method to compute such an array from a string

Write a java program in one file to determine if a string is an anagram of another string where a typical run of your program is to be as follows. % java Assg3 restful fluster"restful" is an anagram of "fluster"

  Littlest rebel starring shirley temple

Compare the novel Little Women by Louisa May Alcott and the film The Littlest Rebel starring Shirley Temple. How do these two intertwine or influence each other?

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