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
lyudmila [28]
4 years ago
10

When you ____ a method, you write multiple methods with a shared name but different parameter lists?

Computers and Technology
1 answer:
sergeinik [125]4 years ago
3 0
When you overload a method, you write multiple methods with a shared name with different parameter list.
example c#
 int AddNumbers(int a, int b){
    return a+b;
};

int AddNumbers(double a, double a){
  return Convert.ToInt32(a+b);
}

You might be interested in
Roses are red, violets are blue, I'm going to ki.ll myself, to make life better for you.
Shtirlitz [24]

Answer:

i like this poem helps out the world

Explanation:

p,s. deserves brainiest

6 0
3 years ago
Read 2 more answers
Rafter type and Truss type?
docker41 [41]

Answer:

Trusses and rafters are both assembled ahead of being installed onto the roof. Trusses are assembled in a factory using pre-engineered structures and joints. ... Rafters contain two main outer beams which support the roof structure. On the other hand, trusses come with multiple beams which add more support.

As the trusses come with a web of triangles inside the main frame, they provide more support than the rafters.

Trusses and rafters are both assembled ahead of being installed onto the roof. Trusses are assembled in a factory using pre-engineered structures and joints. On the other hand, rafters are assembled at the construction site. As trusses are assembled in a factory, a lot of time can be saved.

When comparing the cost of rafters and trusses, the latter ones cost more. But when considering the labor cost of constructing the roof using other means, it is better to purchase the trusses even though the costs are a bit higher. This is because there is no need to assemble the structure again at the construction site as they have been already assembled at the factories. But as rafters have to be assembled at the construction site, they involve more labor costs.

Summary:

1. Though both rafters and trusses are triangles in shape, the trusses have more triangle webs inside the principle frame.

2. Trusses are assembled in a factory using pre-engineered structures and joints. On the other hand, rafters are assembled at the construction site.

3. When comparing the cost of rafters and trusses, the latter ones cost more. But when considering the labor cost of constructing the roof using other means, it is better to purchase the trusses even though the costs are a bit higher.

4. As rafters have to be assembled at the construction site, they involve more labor costs.

5. Rafters contain two main outer beams which support the roof structure. On the other hand, trusses come with multiple beams which add more support.

6. Trusses also add an aesthetic beauty to the roofs.

8 0
2 years ago
The laws governing search and seizure in the public sector are much more straightforward than those in the private sector. TRUE
Lapatulllka [165]

Answer:

True

Explanation:

Because of the contract that you have agreed to when joining the work force. Which is different from the private sector.

7 0
3 years ago
Which spreadsheet toolbar displays options such as Cut and Paste?
Colt1911 [192]
The answer would be ''Drawing Toolbar'' and you can find this inside your mouse area, where u click the right button (right side) and it shows a small chart/toolbar where it gives you the options to copy, cut, paste and more.
4 0
3 years ago
JAVA
ella [17]

Answer:

Explanation:

The following code is written in Java. It creates a function that takes in an ArrayList and an int parameter. Then it loops through the array and adds each element into a new array called newList but adds them the number of times that the numRepeats argument states. Output can be seen in the attached image below.

import java.util.ArrayList;

class Brainly{

   public static void main(String[] args) {

       ArrayList list = new ArrayList();

       list.add('a');

       list.add('b');

       list.add('c');

       ArrayList newList = repeatArrayList(list, 3);

       System.out.println(newList);

   }

   public static ArrayList repeatArrayList(ArrayList list, int numRepeats) {

       ArrayList newList = new ArrayList();

       for (int x = 0; x < numRepeats; x++) {

           for (int i = 0; i < list.size(); i++) {

               newList.add(list.get(i));

           }

       }

       return newList;

   }

}

5 0
3 years ago
Other questions:
  •  When using cost-benefit analysis to determine the benefits of a community project, economists measure the value in terms of (A.
    14·1 answer
  • What are some pros and cons of being a Computer Hardware Engineer?
    15·1 answer
  • Microbes that enter the body, causing disease, are<br>known as​
    13·1 answer
  • A cell reference with only one dollar sign before either the column or the row is called an absolute reference.
    10·1 answer
  • In a brief essay explain the security vulnerabilities of transition methods (6to4, etc.)
    8·1 answer
  • Generate a row vector b=[1 2 3 4 5 6 7 8 9 10] using linspace function, give the commands and show print-screen of the result.
    11·1 answer
  • 1. Write a while loop that lets the user enter a number. The number should be multiplied by 10, and the result assigned to a var
    8·1 answer
  • Three Cat 5e cables were run from an office area to three computers in a machine shop. Work took place on the weekend when the m
    14·1 answer
  • Select all the correct answers.
    14·2 answers
  • You want to purchase a computer, and the salesperson refers to separate pricing for a system unit and for the software applicati
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!