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
topjm [15]
3 years ago
5

This type of method method performs a task and sends a value back to the code that called it:

Computers and Technology
1 answer:
Thepotemich [5.8K]3 years ago
6 0

Answer:

Option 4: Value-returning

Explanation:

In programming, a method is a named section of codes that perform a specific task. This is possible to define a method that return a value after performing its task. This type of method is known as Value-returning method.

For example, we can define a method addition that takes two inputs, x, y and return the summation of x + y to the code that called it. The codes are as follows:

  1.    public static void main(String[] args) {
  2.        int sum = addition(3, 5);
  3.    }
  4.    
  5.    public static int addition(int x, int y){
  6.        return x + y;
  7.    }

You might be interested in
How is a secure HTTP (HTTPS) different from a non-secured HTTP?
GuDViN [60]

Answer:

the second last option

Explanation:

secure HTTP is armed with passwords to ensure that only authorised users gain entry.

the data is encrypted during transmission

6 0
2 years ago
Effective nonverbal communication can cause tension.<br><br> True or False
agasfer [191]

Explanation:

When your nonverbal signals match up with the words you're saying, they increase trust, clarity, and rapport. When they don't, they can generate tension, mistrust, and confusion.

4 0
3 years ago
WILL MARK BRAIN LIST!
Maslowich
I think it’s a

if it isn’t a then it’s d
6 0
3 years ago
Read 2 more answers
What are the reasons why organizations opt for a certificate
Nata [24]

Answer:

Because it helps you prove that you're you to third parties who wouldn't know otherwise. A CA helps you to establish trust with others because they're trusted for issuing valid, reliable certificates — and that trust is integral to public key infrastructure (PKI).

Explanation:

with this info I believe it is a A and C

6 0
3 years ago
Create two functions (with appropriate names) that produce the output below. Both functions must use a prototype. All that shoul
Mariulka [41]

Answer:

In C++:

#include <iostream>

using namespace std;

void function1(); void function2();

int main(){

   function1();    function2();

   return 0;}

void function1(){

   cout<<"This is the first part of my program."<<endl<<"It was created with a function"<<endl;}

void function2(){

   cout<<"This is the second part of my program."<<endl<<"It was created with a different function.";}

Explanation:

This defines the function prototypes

void function1(); void function2();

The main begins here

int main(){

This calls the two functions from main

   function1();    function2();

   return 0;}

This calls function1()

<em>void function1(){</em>

<em>    cout<<"This is the first part of my program."<<endl<<"It was created with a function"<<endl;}</em>

This calls function2()

<em>void function2(){</em>

<em>    cout<<"This is the second part of my program."<<endl<<"It was created with a different function.";}</em>

3 0
3 years ago
Other questions:
  • How to reset your password if you changed your email and dont remember password?
    6·1 answer
  • A customer in a store is purchasing 5 items. Write a python program that asks for the price of each item and display the subtota
    14·1 answer
  • Please help me answer this question
    14·1 answer
  • The icon below represents the ____________.
    8·1 answer
  • What is network topology? PLZZZ HURRY
    9·1 answer
  • To communicate with coworkers in the office
    10·1 answer
  • How can a user access the Mailbox Cleanup tools?
    11·2 answers
  • Imagine that you are preparing a multimedia presentation. What are the four things you need to consider when getting started?
    14·2 answers
  • What dog breed is this
    6·1 answer
  • What are the basic data types supported in C programing language?
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!