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
Flauer [41]
3 years ago
4

"add" is a method that accepts two int arguments and returns their sum .Two int variables , euroSales and asiaSales, have alread

y been declared and initialized . Another int variable , eurasiaSales, has already been declared .Write a statement that calls add to compute the sum of euroSales and asiaSales and that stores this value in eurasiaSales.Assume that add is defined in the same class that calls it.
Computers and Technology
1 answer:
ivann1987 [24]3 years ago
3 0

Answer:

The answer to this question can be given as:

Statement:

//declare method add with two-parameter.

public static int add(int euroSales, int asiaSales)  

{

   return  euroSales+asiaSales;

 //return value.

}

public static void main(String[] args)  

 //declare main function

{

int eurasiaSales;

  //declare integer variable

eurasiaSales=add(4,7);

 //calling function by passing value in arguments.  

//variable hold return value.

System.out.print("Sum is:"+eurasiaSales);   //print value.

}

Explanation:

In the above statement firstly we declare the function that name is already given in the question that is add() function. In this function, we pass two integer variables as a parameter that is euroSales and asiaSales. This function returns the sum of passing variable. Then we declare the main function in that function we declare an integer variable that is eurasiaSales that hold the return values of the add function in the last we print eurasiaSales variable value.

You might be interested in
In which job role would a course in 3D modeling help with professional career prospects?
saw5 [17]

Answer:

c

Explanation:

4 0
3 years ago
Read 2 more answers
A network administrator is examining a RIPv2 routing table and notices that several subnets are advertised in individual entries
timama [110]

Answer:

Answer to the following question is to Use the auto-summary command.

Explanation:

Because with the implementations of the dynamic routing protocol, the RIP summarizes the networks at the classful boundary by default. Configure the router to automatically summarizes the networks, auto-summary command would be used.

An auto summarization is the features that allow the RIP(Routing Information Protocol) to summarizes its route to their the classful network automatically. For example, To consider that we are plan to use the eight subnets of the class B default the networks 172.16.0.0/16, subnet using three-bits subnetting.

5 0
3 years ago
Which of the following describes various supporting sturctures for implementing security that provides a resource of how to crea
REY [17]

Answer:

The correct option is c and d i.e. industry-standard framework and reference framework.

Explanation:

The correct option is c and d i.e. industry-standard framework and reference framework.

industry-standard framework - it is referred to as the standard of performing an operation within industry. it provides the basic guideline to set up and perform the task.

Reference framework is referred to as expert comment and guidelines need to follow by the user involved in the enterprise or in a system.  it is a set of pre-defined concepts built by an expert to enhance productivity.

5 0
4 years ago
What are the features of G-mail <br><br>(Write in your own words)​
wlad13 [49]

Answer:

here is what I think!

Explanation:

G-mail is:

  1. secure
  2. easy to use
  3. fast
  4. can be used to sign in anywhere!<u>(including brainly)</u>
  5. you don't need to pay when creating one
  6. can help you in billing and buying apps and their paid product
  7. <em><u>you </u></em> can use it because <em>why no!</em>
  8. some websites need G-mail to be used

thats why you should use G-mail

tell me if you have an idea!

3 0
3 years ago
Read 2 more answers
Identify possible advantages and disadvantages of using automatic withdrawal to pay bills
Aleonysh [2.5K]

advantages. discounts, builds credit, helps keep track on when you need to pay.

disadvantages. could overcharge if it doesn't have enough, could ruin credit, could jeopardize future loans

5 0
3 years ago
Read 2 more answers
Other questions:
  • The equation y=2x+1 represents a function true or false
    11·1 answer
  • What does the acronym vsepr represent {spelling is important} question 1 options:?
    12·1 answer
  • Which of the following statements about credit scores is TRUE?
    12·1 answer
  • What are some ways to change column width? Check all that apply.
    13·2 answers
  • How do you change your age on here? I accidentally put that i was 15 but i am only 13. How do I change this?
    12·1 answer
  • Define an organizational unit in your own words.
    11·1 answer
  • 1. In your own words, describe the purpose of a for a loop.
    11·1 answer
  • Write an abstract data type for a queue in Java whose elements are generic elements of type T that have an associated integer pr
    15·2 answers
  • Draw a flowchart diagram for a program that displays numbers 1 to 20
    12·1 answer
  • where element is the Hypertext Markup Language (HTML) element and _____ pairs define the styles that are applied directly to tha
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!