You are given the program to support the management of a movie rental place
You are required to perform refactoring on that program to improve its quality. You are encouraged to use refactoring services in IDEs such as Eclipse or IntelliJ.
Then, you are required
1) to add a main() method to test the program; and
2) to add a new method to print the statement for a customer in XML format, e.g., John Smith , Independent Day , etc. Please submit your resulting code
Your solution must at least contain:
1. At least 3 method extraction operations
2. At least 3 creation of 3 new classes
3. At least 3 moving method operations
4. At least 3 renaming operations

Answers

Answer 1

Answer:

to add a main loop

Explanation:


Related Questions

Before inserting a preformatted table of contents, what must you do first?
apply heading styles to text
update the table of contents
navigate to the Review tab and the Table of Contents grouping
navigate to the Insert Table of Contents dialog box

Answers

Answer: apply heading styles to text.

Explanation:

If a function does not return a value, which of the follow is correct?Group of answer choicesThe return type is a Swift optional type.The return type must be set to nil.The return type is omitted from the function declaration.

Answers

Answer:

In swift programming language it is ok when a function does not return any value you are not necessarily required to set return type because it is optional so the correct answer is  "The return type is omitted from the function declaration".

Explanation:

If programing language is swift so we can omit return type from function declaration otherwise if language is C++ we can set return type "Void".

Cleary specifying the theme to be used for a site
before building it provides which main advantage:
site navigation
site consistency
O
a clear message
O O O
improved readability

Answers

Answer: site consistency

Answer:

B) Site Consistency

Explanation:

in programming and flowcharting, what components should you always remember in solving any given problem?

Answers

Answer:

you should remember taking inputs in variables

An example of an access control is a: Multiple Choice Check digit. Password. Test facility. Read only memory.

Answers

Answer:

B. Password

Explanation:

An access control can be defined as a security technique use for determining whether an individual has the minimum requirements or credentials to access or view resources on a computer by ensuring that they are who they claim to be.

Simply stated, access control is the process of verifying the identity of an individual or electronic device. Authentication work based on the principle (framework) of matching an incoming request from a user or electronic device to a set of uniquely defined credentials.

Basically, authentication is like an access control, ensures a user is truly who he or she claims to be, as well as confirm that an electronic device is valid through the process of verification

An example of an access control is a password because it is typically a basic and fundamental front-line defense mechanism against an unauthorized use of data or cyber attacks from hackers.

Which of the following industries does not use technology?

Medicine

Marketing and advertising

Law enforcement

Arts and entertainment

None of the above

Answers

Answer:

None of the above

Explanation:

Medicine uses technology to research

Advertiseres use platforms like Instagram to share the product they are promoting

Law enforcement uses tech to pull up databases of people's records

Arts and entertainment use them to create (in some cases), share, and sell their art.

Hope this helps!

Answer:

E

Explanation: got it right on edge 2020

Which of the following is another word for a copyeditor?


microeditor

macroeditor

assignment editor

assistant editor

Answers

Answer: speaking of microeditor

Explanation: thats not the only thing i know of thats micro :0

Which of the following is another word for a copyeditor?


The answer: microeditor
Hope it helps:)

WILL MARK AS BRAINLIEST
Describe the environmental issues in India and list ways that technology has been used to address these issues.

Answers

India has been having to engineer better technology to better prepare people in india for the brutal monsoon seasons in india

PLEASE HURRY!!!
Look at the image below!

Answers

Answer:

cde

Explanation:

You start counting from 0.

So letters are:

a b c d e f

0 1 2 3 4 5

We do include the 2, but not the 5. So answer is cde.

Write a Python 3 script in PyCharm that will simulate the game of "Rock, Paper, Scissors": Display a header and the simple rules of RPS Prompt player_1 for their move To make sure player_2 can't see what player_1's move was, insert: print('*** NO CHEATING ***\n\n' * 20) Prompt player_2 for their move Design and develop an IF-ELSE structure to play the game IF player_1's move equivalent to player_2's move, "It's a tie" "rock" beats "scissors" "scissors" beats "paper" "paper" beats "rock" Make sure you test for valid input!!

Answers

Answer:

'''

Rock, Paper, Scissors:

The Rules:

If player1's move equivalent to player2's move, "It's a tie".

"rock" beats "scissors", "scissors" beats "paper", and "paper" beats "rock"

'''

player_1 = input("Player 1's move: ")

print('*** NO CHEATING ***' * 20)

player_2 = input("Player 2's move: ")

if player_1 or player_2 not in ["rock", "paper", "scissors"]:

 print("Invalid input!")

if player_1 == player_2:

   print("It's a tie")

else:

   if player_1 == "rock":

       if player_2 == "scissors":

           print("Player 1 won")

       elif player_2 == "paper":

           print("Player 2 won")

   elif player_1 == "scissors":

       if player_2 == "paper":

           print("Player 1 won")

       elif player_2 == "rock":

           print("Player 2 won")

   elif player_1 == "paper":

       if player_2 == "rock":

           print("Player 1 won")

       elif player_2 == "scissors":

           print("Player 2 won")

Explanation:

In the comment part, put the header and the rules of the game

Ask the user to enter the player1's move

Print the asterisks

Ask the user to enter the player2's move

If any of the input is not "rock", "paper", "scissors", state that the input is invalid

Check the inputs. If they are equal, print that it is a tie. Otherwise:

If player1's move is rock. Check player2's move. If it is "scissors", player1 wins. If it is "paper", player2 wins

If player1's move is scissors. Check player2's move. If it is "paper", player1 wins. If it is "rock", player2 wins

If player1's move is paper. Check player2's move. If it is "rock", player1 wins. If it is "scissors", player2 wins

The IP address and the port are both numbers. Which statement is true?
A computer has many IP addresses and many ports.
A computer has one IP address and many ports.
A computer has one IP address and one port,
Acomputer has many IP addresses and one port.

Answers

Answer:

A computer has one IP address and many ports.

Explanation:

Answer:

A computer has one IP address and many ports.

Explanation:

ASAP 20 Points please hurry

Answers

Answer:

All you got to do is type System.out printIn("Study English) etc...

Explanation:

Look at the answer to see if it is right.

What is a clip art gallery

Answers

Clip art is a collection of pictures or images that can be imported into a document or another program. The images may be either raster graphics or vector graphics. Clip art galleries many contain anywhere from a few images to hundreds of thousands of images.

How to get passed administrattor on macbook air to get games and stuff.

Answers

Answer:

You need to use the name and password of the main owner of the computer/the account you made when you first got it. Then, you should be able to download apps and use it if you have your apple ID set up.

Explanation:

g Unlike when you create a String, when you create a StringBuilder, you must use the keyword ____________.

Answers

Answer:

Unlike when you create a String, when you create a StringBuilder, you must use the keyword new

Explanation:

Strings are used in programming which also opens the way for StringBuilder to be used too. In javascript, for instance, variables are useful for storing data, We have "Let" and "const" variables. Const variables cannot be changed after they’re created. The data stored are in types an example is a string. Strings allow one to write a value and store the result in a variable.

For example, using the dot operator, when you:

console.log('love'.length); // Prints 4

Note that console.log()  allows the computer to evaluate the expression inside the parentheses and print that result to the console.

.length prints 4 as the result. This shows how the string has a property that stores the number of characters in that string.

StringBuilder with the keyword "new" is used when we want to change or modify data property stored in a string.

what tools IS used to mine stones and ores​

Answers

Answer:

pickaxe

Explanation:

that is the tool u use

A pickaxe or a pick.

Shown in minecraft and talked about in many story's that take place in the mines.

Depending on the pickaxe material, many things could be mines like stone and ore.

What are the four components of the Universal Systems Model?

Answers

Answer:

output, process, input, and feedback

Explanation:

Read the following code:

x = 1
while(x < 26)
print(x)
x = x + 1

There is an error in the while loop. What should be fixed? (5 points)

Select one:
a. Add a colon to the end of the statement
b. Begin the statement with the keyword count
c. Change the parentheses around the test condition to quotation marks
d. Use quotation marks around the relational operator

Answers

For a while loop to function properly, it needs a colon after it.

Answer choice A is correct.

Nowadays computer games are mostly available on external
hard disk.
Is it true or false?

Answers

Answer:

false

Explanation:

because a lot of times they are downloads without the disk

It is false that nowadays computer games are mostly available on external hard disk.

What is hard disk?

A hard disk drive (HDD) is a type of computer storage device that uses magnetic storage to store and retrieve digital information.

Hard disks are usually located inside the computer and are used to store the operating system, applications, and user data such as documents, pictures, and videos.

Computer games can be stored on a variety of devices, including internal hard drives, external hard drives, solid state drives, and even cloud storage.

While external hard drives may be a popular option for some users, computer games can be installed and played from a variety of storage devices depending on user preferences and hardware capabilities.

Thus, the given statement is false.

For more details regarding hard disk, visit:

https://brainly.com/question/9480984

#SPJ2

How do I turn on autosave in Pokemon Shield?

Answers

Answer:

You Can't

Explanation:There isn't a feature for that in the game.

Answer:

You can't. It really sucks. Just save your game every hour when you play.

What is one reason to create a study check list​

Answers

To make sure you studied everything you need to know.

Which statements are true regarding file management? File management means grouping related files into folders. You can store multiple folders within a file. However, a single folder can only store a single file. You can also create subfolders. Related folders when grouped together are called subfolders. When you logically organize files, folders, and subfolders, you'll get a file hierarchy resemblinga tree.​

Answers

The statements that is true regarding file management are;

File management means grouping related files into folders. You can also create subfolders. Related folders when grouped together are called subfolders.

What is file management what does it include?

File Management is known to be one that is made up of the common operations done  on files or groups of files, such as creating, opening, renaming, and others

Note that in file management,  Each user are required to access to create, delete, read, write, and modify a file and also user need to have limitations to no access to others files.

Hence, The statements that is true regarding file management are;

File management means grouping related files into folders. You can also create subfolders. Related folders when grouped together are called subfolders.

Learn more about file management from

https://brainly.com/question/12736385

#SPJ1

Which term describes a repository that holds pairs of entries to translate a domain name to an IP address? Select 2 options.

a. name server
b. domain server
c. root server
d. domain name system
e. domain lookup

Answers

Answer:

I said name server and domain name system, although it may not be correct.

Answer:

A and D

Explanation:

1. Add an import statement above the class declaration to make the Scanner class available to your program.
2. In the main method, create a Scanner object and connect it to the System.in object.
3. Prompt the user to enter his/her first name.
4. Read the name from the keyboard using the nextLine method, and store it into a variable called firstName (you will need to declare any variables you use).
5. Prompt the user to enter his/her last name.
6. Read the name from the keyboard and store it in a variable called lastName.
7. Concatenate the firstName and lastName with a space between them and store the result in a variable called fullName.
8. Print out the fullName.
9. Compile, debug, and run, using your name as test data.
10. Since we are adding on to the same program, each time we run the program we will get the output from the previous tasks before the output of the current task.

Answers

Answer:

import java.util.Scanner;

public class Assignment{

public static void main(String [] args)

{

Scanner input = new Scanner(System.in);

String firstName, lastName;

System.out.print("Firstname: ");

firstName = input.nextLine();

System.out.print("Lastname: ");

lastName = input.nextLine();

String fullName = firstName +" "+lastName;

System.out.print(fullName);

}

}

Explanation:

I'll use the line numbers in the question to point at the corresponding instruction

import java.util.Scanner; -- The import statement (1)

public class Assignment{

public static void main(String [] args)

{

Scanner input = new Scanner(System.in); -- Scanner object (2)

String firstName, lastName; -- Variable declarations

System.out.print("Firstname: "); ---- Prompt to enter first name (3)

firstName = input.nextLine(); --- User input for firstName (4)

System.out.print("Lastname: "); ---- Prompt to enter first name (5)

lastName = input.nextLine(); --- User input for lastName (6)

String fullName = firstName +" "+lastName; --- concatenating both user inputs (7)

System.out.print(fullName); --- Print out fullName (8)

}

}

Your game design company has recently asked all employees to use a specific personal information management application (PIM) to increase workplace efficiency. The PIM is collaborative, so contacts, calendar entries, and notes are shared across the team. Several team members are resistant to the idea, saying it interrupts their workflow, and they prefer their own way of handing contacts, notes, etc. Others don’t want their own notes to be seen by their coworkers.

Answers

Answer:For example, an office worker might manage physical documents in a filing cabinet by placing them in folders organized alphabetically by project name, or might manage digital documents in folders in a hierarchical file system.

Explanation:

PLEASE HURRY!!!

Look at the image below!

Answers

Answer:A and E

Explanation:

The last three are strings while the other choices are integers.

Putting ' ' or " " around something makes it a string and the input is asking the user to input a string.

What issues will the Internet of Things present to Cybersecurity?

Answers

Answer:

The IoT offers new ways for businesses to create value, however the constant connectivity and data sharing also creates new opportunities for information to be compromised. Explore some of the more notable developments in the battle to combat cyber risks.

Explanation:

I hope this helps you. UwU. P.S. Plz mark me Brainlyest

Write some code that assigns True to the variable is_a_member if the value assigned to member_id can be found in the current_members list. Otherwise, assign False to is_a_member. In your code, use only the variables current_members, member_id, and is_a_member.

Answers

Answer:

current_members = [28, 0, 7, 100]

member_id = 7

if member_id in current_members:

   is_a_member = True

else:

   is_a_member = False

print(is_a_member)

Explanation:

Although it is not required I initialized the current_members list and member_id so that you may check your code.

After initializing those, check if member_id is in the current_members or not using "if else" structure and "in" ("in" allows us to check if a variable is in a list or not). If member_id is in current_members, set the is_a_member as True. Otherwise, set the is_a_member as False.

Print the is_a_member to see the result

In the example above, since 7 is in the list, the is_a_member will be True

to save a copy of word online document to your hard drive which option should you select? Save as , save, rename or download and copy

Answers

Answer:

 The correct answer is Save as              

                                                                                                                                               

The option that is to select to save a copy of word online document to hard drive is the save as option.

What is word document?

The term “Word Document” is used to denote the document that is made in the Microsoft Word. This document is made in the proper format with the MS Word. This document can be safe electronically by selecting the save as option.

After saving that document, this will automatically save on the hard drive of the computer device of that user.

Therefore, option A is correct.

Learn more about the Word document, refer to:

https://brainly.com/question/15939168

#SPJ2

write a program that reads in a number n and prints out n rows each containing n star charactersg

Answers

In python:

rows = int(input("How many rows would you like? "))

i = 0

while i < rows:

   print("*" * rows)

   i += 1

I hope this helps!

Other Questions
Conversion FormulasK = C + 273 1. Antunezdonde va el asent? I need Help ASAP Russian translation hello please help will give braainliest What type of bond is present between Magnesium and Fluoride in MgF2? Where did the Constitutional Convention take place? I WILL GIVE BRAINLISTPLS ANSWER ALL OF THESE Order: Vitamin K (Aquamephyton) 1 mg IM x 1 dose Newborn: Weight 4 kg Supply: 10mg/mL vial How many mLs would be given in a complete sentence describe how much smaller the 3 in 743,857 is than the 3 in 735,957 Anna runs 3/4 miles in six minutes Assuming she runs at a constant rate what is her speedin miles per hour I will mark u as brainlest if you help me lots of points the one I choose was probably not right it was just right there Why it is necessary that we learn the tools, equipment and paraphernalia usedin front office services? Luis de Moscoso Alvarado died of fever.TrueFalse *Convert 499 m to km499,000 kmO 0.499 km49.9 km0 4.9 X 10^-3 km how did new inventions improve people's lives? What is the volume, in cubic in, of a cylinder with a height of 4in and a base radius of 5in, to the nearest tenths place? Picassos father worked as a: a. Fireman b. Politician c. Drawing teacher OD9. How do writers use indirect characterization to reveal character traits? Select all that apply.through the character's actionsthrough the character's thoughtsthrough the effect the character has on othersthrough conspicuous language Write some code that assigns True to the variable is_a_member if the value assigned to member_id can be found in the current_members list. Otherwise, assign False to is_a_member. In your code, use only the variables current_members, member_id, and is_a_member. HELP MEHH PLZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ