1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Ne4ueva [31]
2 years ago
8

How could this code be simplified?

Computers and Technology
1 answer:
nikklg [1K]2 years ago
4 0

The code to be simplified is not indicated but I will give you a general guide to simplifying Java codes.

<h3>How do you simplify Java Code?</h3>

  1. At the top, declare and initialize your variables. Late declaration disrupts readability.
  2. Create specific functions that are modular. It is inefficient to have functions that attempt to "do it all".
  3. Make it a practice to name the function to correspond to the task.
  4. All duplications must be removed and rectified
  5. Having comments provide a fantastic way to summarize the purpose of a code.
  6. Do not overuse recursion. Doing this makes it difficult to understand at a glance.
  7. If possible, do not use global variables. The local variable takes precedence over the global variable in JavaScript.

Learn more about Java code at;
brainly.com/question/18554491
#SPJ1

You might be interested in
Identify a true statement about decision support systems (DSSs).
Zolol [24]

Answer:

a. facilitate improvements but do not necessarily cause them.

Explanation:

Decision Support Systems are interactive Information systems that assist  decision makers in coming up with strategies that help the organisation achieve its goals .The model base of the DSS uses mathematical and statistical models to analyse information then it generates reports and suggest possible solutions that can be implemented .The system is capable of giving a specific solution and some even allow the decision makers to give input before suggesting the most applicable solution.The effectiveness of a DSS is equally as important as its efficiency .The DSS unlike the conventional decision-making process should be able to analyse information effectively and come up with solutions in the shortest possible time frame.

7 0
4 years ago
Hordes of surreptitiously infiltrated computers, linked and controlled remotely, also known as zombie networks are known as:
icang [17]
~Hello there! ^_^

Your answer: Hordes of surreptitiously infiltrated computers, linked and controlled remotely, also known as zombie networks are known as..?

Your answer: Hordes of surreptitiously infiltrated computers, linked and controlled remotely, also known as zombie networks are known as botnets.

Hope this helps~





3 0
4 years ago
A ______ is a computer that controls access to the hardware, software, and other resources on a network. mainframe server workst
kykrilka [37]
The answer is mainframe
4 0
3 years ago
A Supermarket manager hired one packager who can pack 15 boxes every two minutes. Ater some time the manager noticed that packag
Semenov [28]

Answer:

40mn

Explanation:

500/t=15/2+15/3

500/t=75/6

75t=500×6

t=3000/75

t=40

6 0
3 years ago
Read 2 more answers
Fifteen years ago, everyone didn't have a cell phone. Anyone developing an app would not have found many users. Today, the exist
yarga [219]

Answer:

Are there any options?

Explanation:

The world is frequently coming in with better and more advanced technologies. More people are entering the digital world every day. The pace at which disruptive technologies are arriving is accelerating – and they’re changing how we live. The same technologies are giving rise to new business models. Example of development in the past 15 years- A.I.

6 0
2 years ago
Other questions:
  • Describe the concepts of Defense in Depth and Detection in Depth. Compare and contrast. What's different? What's similar?
    9·1 answer
  • Which of the following symbols is used to convert a number to text?
    11·1 answer
  • Which of the following is the best subject line for an e-mail sent to co-workers about rescheduling a team meeting? A. Reschedul
    12·2 answers
  • ___________ is produced by propulsion systems or engines.
    6·1 answer
  • Which term refers to the dimensions of an images? For example, a widescreen is
    15·1 answer
  • Which of the following are good backup methods you can use to protect important files and folders from loss in the case of a har
    15·2 answers
  • Anyone know the friends song by Marshmello? It's stuck in my head.
    12·2 answers
  • In cell J6, insert a formula using the OR function that returns TRUE if the rating (cell 16) equals "A" or the email reminder (c
    5·1 answer
  • Before creating a graphic, you should _____. Select all that apply. A. export it as an SVG file B. consider whe
    12·1 answer
  • Completar Fill in the blanks with the correct familiar commands. dar (negative) 1 of 1 Question 2 with 1 blank hacer (affirmativ
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!