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
Doss [256]
3 years ago
11

What is the relationship between a method and a function

Computers and Technology
2 answers:
Sauron [17]3 years ago
7 0

Answer:

Method and a function are the same,whit the different terms. A method is a procedure or function in object - oriented programming. A function is a group of reusable code which can be called anywhere in your program. This eliminates the need for writing the some code again and again.

Elena-2011 [213]3 years ago
4 0
A function is a piece of code that is called by name. It can be passed data to operate on (i.e. the parameters) and can optionally return data (the return value). All data that is passed to a function is explicitly passed. A method is a piece of code that is called by a name that is associated with an object
You might be interested in
The variables xp and yp have both been declared as pointers to integers, and have been assigned values. Write the code to exchan
shepuryov [24]
The question is asking us to swap the values of xp and yp while not changing where they point to. Setting xp equal to yp would not work because then we couldn't change yp since the value for xp was overwritten. We can use a third variable to swap them.

int zp = xp;
xp = yp;
yp= zp;
6 0
3 years ago
Is main memory fast or slow?
Snezhnost [94]

Answer:

Slower

Explanation:

7 0
3 years ago
You are given the IP Address of 193.103.20.0 /24 and need 50 Subnets. How many hosts per network, and total networks do you get
lora16 [44]

Answer:

Hosts per network = 2

Total networks once subnetted = 64

Explanation:

7 0
3 years ago
Only one calendar can be visible at a time<br> in Outlook.<br> Select one:<br> a. False<br> b. True
Fed [463]

Answer:

a. False

Explanation:

It is false as more than one calendar is visible in outlook.

4 0
3 years ago
Giving BRANLIEST IFFF CORRECT
mr_godi [17]

Answer:

pie chart

Explanation:

pie chart shows percentage per item

3 0
3 years ago
Other questions:
  • OSI is a seven-layered framework used to help define and organize the responsibilities of protocols used for network communicati
    6·1 answer
  • Which of the following represents inbound logistics for a bookstore
    13·1 answer
  • Create a query that returns School Name, School Dean Last Name, School Dean First Name, Department Name, Department Chair Last N
    12·2 answers
  • Select the correct answer.
    13·1 answer
  • Write the name of the tab, the command group, and the icon that you need to use to justify
    14·1 answer
  • Identify the correct sequence of steps to change the font from Verdana to Arial.
    5·1 answer
  • 7. Question
    12·1 answer
  • This is a tableware use to serve the main dish
    11·1 answer
  • Question of Computer science​
    7·1 answer
  • What is your favorite song? mine is "In the final"
    7·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!