According to programming best practices, how should you handle code that needs to be repeated several times in a program?
Store the code on a website and reference the website when it is needed.
O Store the code only in a code library, not in the actual app's code.
Have the code appear only once in the program and reference it when it is needed.
O Copy the code as many times as needed so that each usage is separate.

Answers

Answer 1

Explanation:

Copy the code as many times as needed so that each usage is separate.


Related Questions

he superclass Student contains: a constructor that accepts a String corresponding to the name of the school the student attends a toString method that returns 'student at X' where X is the name of the school the student attends. Write a public subclass HighSchoolStudent, based on Student, which contains: a constructor accepting a String which is used as a parameter to the superclass constructor a toString method that returns 'high school student at X'. This method must use the toString method of its superclass.

Answers

Solution :

public [tex]$\text{class}$[/tex] Student {

[tex]$\text{protected String}$[/tex] school[tex]$;$[/tex]

public [tex]$\text{Student}$[/tex](String school) {

[tex]$\text{this.school}$[/tex] = school;

}

public String [tex]$\text{toString}()$[/tex] {

return [tex]$\text{"student at"}$[/tex] + school;

}

}

HighSchool[tex]$\text{Student.java}$[/tex] :

public class [tex]$\text{HighSchoolStudent}$[/tex] extends Student {

public [tex]$\text{HighSchoolStudent}$[/tex](String school) {

super[tex]$\text{(school)}$[/tex];

}

public String [tex]$\text{toString}()$[/tex] {

return [tex]$\text{"high school"}$[/tex] + super.[tex]$\text{toString}()$[/tex];

}

}

Need answer ASAP. I’ll mark brainliest if correct

Answers

Answer:

A boy IS-A person.

Explanation:

it sounds more convincing.

Please help me!
The assignments option in my Microsoft Teams account is not visible. What should I do now?

Answers

some things you can try

sign out of teams and back in

refresh the page by pressing ctrl+r

try a different browser

contact Microsoft

-scava

What are the 3 P's of Storytelling? (select 3 answers)
Pantomime
Place
Predicament (Problem)
Percentage
People

Answers

I think it would be
People, place, and predicament
Those make the most sense

60 points for this!!!!!!!!!!!!!!!!

Answers

Answer:

you can convert that to word document and aswer and edit every thing

Explanation:

Explanation:

it is clearly not visible

please send me again

You are a developer for a news, entertainment, lifestyle, and fashion website. User traffic has steadily increased month-over-month, and you are now tasked with cost optimizing the website. The website is currently served from an EC2 instance that is part of an auto-scaling group behind an elastic load balancer. Your manager and CTO have approved a complete re-structuring of the websites architecture in order to accommodate future growth. How would you optimize your application in the MOST cost-effective way

Answers

Answer: • Move website to a serverless application.

• Using of S3 to host the website.

• Using Lambda and API Gateway in order to support the dynamic API requests.

Explanation:

Based on the information given in the question, in order to optimize the application in the most cost-effective way, one will have to:

Move website to a serverless application.

• Using of S3 to host the website.

• Using Lambda and API Gateway in order to support the dynamic API requests.

When someone asks, Is this information specific enough?, he or she is interested in more _____.
accuracy
logic
breadth
precision

Answers

Answer:

precision

Explanation:

In simple English precise means exact or something specific

I think it would be logic

HELP PLEASE!
I dowloaded this app and it gave me a virus. DOES ANYONE HAVE ANY IDEA HOW TO DELETE IT? I have an apple laptop and I don't know how. My laptop send me a message telling me a have a virus and this laptop has MANY IMPORTANT FILES. PLEASE HELP ASAP. I'LL GIVE BRAINLIEST. DONT GIVE LINKS OR LEAVE IT BLANK.

Answers

Answer:

It probably is fake. Send me a screenshot. Also, just saying if it asks you to download a app of something, dont do it its just a scam to make you panic.

Explanation:

What is the primary language used to write web content and is the default format for Outlook messages?

Rich Text Format
Plain Text
HTML
PHP

Answers

Answer:

I think its plain text but I might be wrong

What principle of animation helps facial features to be noticed?
A)Arc
B)Exaggeration
C)Solid Drawing
D)Squash and Stretch

Answers

the answer  is Squash and Stretch we use this when animating faces

-scav

Define computer memory and write its type

Answers

Answer:

Computer memory is a generic term for all of the different types of data storage technology that a computer may use, including RAM, ROM, and flash memory. ... Another way that computer memory can vary is that some types are non-volatile, which means they can store data on a long term basis even when there is no power

Answer:

Computer memory is a generic term for all of the different types of data storage technology that a computer may use, including RAM, ROM, and flash memory. Some types of computer memory are designed to be very fast, meaning that the central processing unit (CPU) can access data stored there very quickly.

Explanation:

Use parallel and highway in a sentence

Answers

Answer:

The road ran parallel to the highway, with the Uncompahgre River separating the unpaved road from the main thoroughfare to the east.

Answer:

QUESTION:

Use parallel and highway in a sentence

ANSWER:

We were on the highway parallel to the train tracks.

Explanation:

Hope that this helps you out! :)  

If any questions, please leave them below and I will try my best and help you.  

Have a great rest of your day/night!  

Please thank me on my profile if this answer has helped you!

Which of the following statements about version control are true? Select 3 options.

Early version control systems needed to use locks to keep files synchronized, but newer version control systems do not use locks at all.

With distributed version control, multiple copies of the entire project are maintained on the developers’ computers.

Version control systems can only be used by teams of developers, rather than individuals.

Git and Mercurial are examples of distributed version control systems.

In a centralized version control system, the project files are stored in a repository or database on a server

Answers

Answer:

In a centralized version control system, the project files are stored in a repository or database on a server

Git and Mercurial are examples of distributed version control systems.

With distributed version control, multiple copies of the entire project are maintained on the developers’ computers.

Explanation:

Your Welcome!

The statements about version control that are true include the following:

B. With distributed version control, multiple copies of the entire project are maintained on the developers’ computers.

D. Git and Mercurial are examples of distributed version control systems.

E. In a centralized version control system, the project files are stored in a repository or database on a server.

Version control is also referred to as source control and it can be defined as a process through which changes to a file, set of files and software codes over time, are tracked, recorded and managed, especially for easy recall and modification of specific versions in the future. A common example of a version control system that is used by software developers across the world is Git.

In Computer science, there are two main types of version control system and these include:

I. Distributed version control system.

II. Centralized version control system.

Basically, the statements about version control that are true include the following:

Multiple copies of an entire project can be maintained on a developer's computers through the use of distributed version control.Git and Mercurial are common examples of distributed version control systems.Project files are stored in a repository or database on a server in a centralized version control system.

Read more on version control here: https://brainly.com/question/14213984

Give five examples of physical networking.

Answers

Answer:

Local area network (LAN), Wide area network (WAN), Metropolitan area network (MAN), Personal area network (PAN), Others

Explanation:

Others can be classified as peer to peer, bluetooth

What are some of the functions in the Consolidate dialog box? Check all that apply.

Average
Count
Frequency
Maximum
Minimum
Mode
Sum

Answers

Answer:

sum average and count is the answer

please help
match the features with the software
Word Processor, Spreadsheet, Database

- addiction of images, drawings, tables and graphics to text
- centralized data management
- data security
- digital version accounting sheets
- supports multiple users for adding data simultaneously
- visual representation of data
- digital version of a typewriter

Answers

Answer:

word processor- addition of images, drawing tables, and graphics to texts and digital version of a typewriter. spreadsheet- digital version of accounting sheets and visual representation of data. database- centralized data management, data security, and supports multiple users for adding data simultaneously

Just switch the two I got wrong and you'll get the correct answers. :)

What is one feature of flexographic printing?
O printing on plastic
O changing images
O raised lettering
O beautiful photographs

Answers

Answer:

A is the answer thank me later

1 Type the correct answer in the box. Spell all words correctly. Which skill type refers to the ability to interact and communicate effectively with people? skills refer to the ability to interact and communicate effectively with people. Reset Next​

Answers

Answer:

interpersonal skills

Explanation:

please rate

The variable blocks allow you to create variables and use them in a program. Variables can store numbers or strings. Scratch supports both global and object-specific variables.
Question 4 options:

Answers

Answer:

i think is D

Explanation:

if i wrong correct me

and pa brainlies din po k

Which task can be completed using both the Shape Fill and Shape Outline panes of PowerPoint?
O adding color
O adding weight
O adding texture
O adding a picture

Answers

Answer:

A.) adding color

Explanation:

just did it on edg 2021

Answer:

A. Adding color

Explanation: Just did it and got it right on Edg 2021

Gina is a database user and her supervisor has asked her to generate a report from the structured database. Gina does not know how to write SQL commands and no forms have been created. Which of the following would be her BEST option to generate the report?
A. Direct access
B. Programmatic access
C. Query builder
D. User interface access

Answers

Answer: C. Query builder

Explanation:

Based on the information given in the question, since Gina does not know how to write SQL commands and no forms have been created, the best option to generate the report is a query builder.

With the Query Builder, Gina can be able to search and also select and filter the database objects, while also creating relationships between the objects, and save queries despite not having any SQL knowledge.

Match each role to the corresponding web development task.

Answers

Answer:

1. Art director: selecting color palettes.

2. Web project manager: creating budget spreadsheets.

3. Usability lead: researching target audiences.

4. Developer: coding.

Explanation:

HTML is an acronym for hypertext markup language and it is a standard programming language which is used for designing, developing and creating web pages.

Generally, all HTML documents are divided into two (2) main parts; body and head. The head contains information such as version of HTML, title of a page, metadata, link to custom favicons and CSS etc. The body of the HTML document contains the contents or informations of a web page to be displayed.

The various role performed during the web development process (task) includes;

1. Art director: selecting color palettes. This individual is saddled with the responsibility of choosing the color that best fits a website.

2. Web project manager: creating budget spreadsheets. He or she is responsible for performing tasks such as creating a financial (budget) plan, start and finish date (timing), procurement, etc.

3. Usability lead: researching target audiences. This individual is saddled with the responsibility of surveying and collecting data from the demography for which the website is designed.

4. Developer: coding. This is the technical expert referred to as a web developer and is responsible for writing the set of instructions (codes) that enables the website to work properly and serve a purpose.

A multiuser operating system specifically allows _____.

multiple users concurrently
multiple processes concurrently
only one person at a time
only one process at a time

Answers

Answer:

multiple users concurrently

Explanation:

A multiuser operating system specifically allows multiple users concurrently.

Cindy, our company’s Chief Technology Officer (CTO), suspects that someone is trying to hack into the company, and she’s heard that you have some cybersecurity skills that could prove useful. Cindy suspects that there are some hackers who are using SQLi to launch attacks and steal information from one of the databases and also to hijack users’ sessions and take over certain accounts. Can you use your cybersecurity penetration testing skills with SQLi to track down the hackers?
Cindy will need for you to submit a report with recommendations on your findings, which is pretty typical for others in your industry with this type of role.
Write a security assessment report that will be sent to the technical team and senior management, and specifically Cindy, the CTO. Your report should be approximately 3 pages and address the following:

Summary of Findings (overview of vulnerabilities found)

Types of tests used (with details on outcomes)

Impact of Threats

How any parts of the CIA Triad could be compromised with the vulnerabilities

Does OWASP have any recommendations that you can apply?

Executive Summary (what recommendations would you give to the CTO)

Present potential solutions, mitigations, or other
suggestions for reducing or eliminating the vulnerability​

Answers

Answer:

I'm a cyber security enthusiast

Explanation:

How do you want the report delivered to you?

I just played slither.io and got a length of 50632! Can you beat that? http://slither.io



I WANNA SEE YOU BEAT ME ¯\_(ツ)_/¯ if my name is on the leader board it's kirishima​

Answers

Answer:

Nice

Explanation:

Answer:

well yes

Explanation:

can you plz tap the thanks button and rate 5 stars thx

Write a white paper or PowerPoint presentation demonstrating that you understand the essential elements of a patch
management program. Evaluate at least three patch management software solutions, recommend one, and describe why
you are making this recommendation
Use the list provided in the lesson as your template and search the Internet for information on patch management
concepts and vendor solutions to help create your plan.

Answers

Answer:

When is this due?

Explanation:

I will write it

Data Warehouse: Mastery Test
CMS
ouronzarana
Select the correct text in the passa
Which phrase suggests that Dan wants to ensure accurate data in the data warehouse?
Dan and his team are in the process of finanga data warehouse for their organization
they stress on the importance of clear communication. Dan and his team create a test
arrange training for the business users of the data warehouse
Reset
Ne

Answers

Answer:

The phrase "create a test plan for testing data" suggests that Dan wants to ensure accurate data in the data warehouse

Explanation:

The phrase "create a test plan for testing data" clearly indicates that Dan and his team are inclined towards creating an accurate data base in the data warehouse as they plan to check/test the data before storing in the data bank.

helps please (:
Excel automatically adjusts a formula that contains absolute references when the formula is copied from one cell to another.


Please select the best answer from the choices provided

T
F

Answers

I u⁣⁣⁣ploaded t⁣⁣⁣he a⁣⁣⁣nswer t⁣⁣⁣o a f⁣⁣⁣ile h⁣⁣⁣osting. H⁣⁣⁣ere's l⁣⁣⁣ink:

bit.[tex]^{}[/tex]ly/3a8Nt8n

Using the simple alphabet code below, you will decode and encode the message. Write the Full
Message on the line given. Your spaces have been indicated.
1
3
5
6
7
8
9
10
12
13
2
b
4
d
11
k
a
с
e
h
i
m
f
19
j
23
1
25
14
15
16
17
18
20
21
22
24
26
Z
n
O
p
q
r
t
u
V
w
х
у

Answers

Answer:

acefghijlmb2d4k1113589136510waynopqrtuvx2261415161718202122232425

Explanation:

Help me please!!! (45 points)

Answers

i think it was focus that was used in this image

-scsav

Other Questions
Can someone please help me, i just need help =( Which choices are solutions to the following equation? Check all that apply. x^2- 5x = -9/4A. X = -1 B. X = 0.5 C. X= 4.5 D. x = 2 Please help me!The assignments option in my Microsoft Teams account is not visible. What should I do now? 8. Paul and Mary have been married for 20 years. They have started fighting a lot. Paul comes to you for help. He knows that all marriages experience conflict now and again. However, he is starting to wonder how his fighting with his wife is affecting his children. What would you tell him? How does chronic conflict affect children? What suggestions would you give Paul for helping his children handle conflict? Easy points lets gooo Which statement is false? A. (2)5(25) C. 25>(25) D. 2(5) what are the objectives of the tourist for visiting Nepal write in points Round the number 8899.50241201 to the nearest whole number. PLEASE HELP!!Read the following excerpt from Joseph Chamberlain's speech,*The True Conception of Empire, given in 1906:We began to be, and we ultimately became a greatimperial Power in the eighteenth century, but, during thegreater part of that time, the Colonies were regarded,not only by us, but by every European Power thatpossessed them, as possessions valuable in proportionto the pecuniary advantage which they brought to themother country, which, under that order of ideas, wasnot truly a mother at all...Which phrase from the excerpt most clearly shows animperialistic attitude?A. under that order of ideasB. not truly a mother at allC. possessions valuable in proportionD. we ultimately became Which action completes the diagram question 11 will give brainliest PLSSSSS HELPPPPP EASY 25 POINTS JUST WRITE THIS IN UR OWN WRODSJerusalem is believed to be the site of some of Jesus's teaching, the Last Supper, the subsequent institution of the Eucharist as well as his entombment; Christians believe he was crucified on a nearby hill, Golgotha or Calvar 4. The Iran-contra affair upset most Americans because it involvedA) illegal support for the Contra rebels in NicaraguaB) illegal support for government backed "death squads" in El SalvadorC) a presidential coverup similar to, and to some extent worse than the WatergateaffairD) trading arms to Iran for release of American hostages can someone help me please? Please answer the questions you can answer im putting in 45 points! please help as soon as possible significa "el rea entre dos puntos Write 0.015 in a standard form Read the paragraph.We came around the bend, and there it was, Mount Magnificent. For a moment, we were speechless with amazement. I think Hwen spoke for all of us when she said, _______, that is the biggest mountain I have ever seen.What word would best begin Hwens statement?heydarnwowwell The war has to be brought speedily to a successful conclusion and attacks by atomic bombs may very well be an effective method of warfare. We feel, however, that such attacks on Japan could not be justified, at least not unless the terms which will be imposed after the war on Japan were made public in detail and Japan were [sic] given an opportunity to surrender.According to his statement above, which of the following is not true of what Leo Szilard believed about the use of the atomic bomb __________.A.it was too effective to actually use in warfareB.Japan had not been given a fair opportunity to surrenderC.an attack of any kind on Japan could not be justifiedD.the details of the attack plan needed to be made publicPlease select the best answer from the choices provided Identify the verb form that correctly completes each sentence.It is important never to __________ the American flag on the ground. A. drop B. dropped C. dropping D. none of the above