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
Andreyy89
3 years ago
11

30 mins and I will give Brianlest what is the difference between a method and a function in which ways are they similar why do y

ou think python makes a distinct between methods and functions ​
Computers and Technology
1 answer:
omeli [17]3 years ago
8 0

Answer:

For 1), you should also add that methods in C++ are called member functions. Thus, the difference between functions and methods in this context is analogous to the difference between functions and member functions in C++. Furthermore, languages like Java only have methods. In this case, functions would be analogous to static methods and methods would have the same meaning. For 2), you should add that a method is able to operate on the private instance (member) data declared as part of the class. Any code can access public instance data.   A function is a mathematical construct. I would say all methods are functions but not all functions are methods

Explanation:

You might be interested in
Accenture is one of several hundred companies that has signed on to the united nations global compact (ungc) business ambition p
DIA [1.3K]

Accenture goal of this pledge is to  to keep global warming below a 1.5 Celsius increase from pre-industrial levels.

<h3>What is Accenture most known for?</h3>

Accenture is known to be a body that is said to have a lot of range of service that they do offer such as strategy, management, digital, technology, and others.

Note that Accenture is said to be a global body that help in the area of security as well as others.

Therefore, based on the above Accenture goal of this pledge is to  to keep global warming below a 1.5 Celsius increase from pre-industrial levels.

Learn more about Accenture from

brainly.com/question/25682883

See full question below

Accenture is one of several hundred companies that has signed on to the United

Nations Global Compact (UNGC) Business Ambition pledge.

What is the goal of this pledge?

O to reverse all effects of global warming within the next decade

O to keep global warming below a 1.5 Celsius increase from pre-industrial levels

O to donate to charity in exchange for exemption from regulations

O to switch entirely to solar power at all office locations worldwide

8 0
2 years ago
Earthquakes _____.
rosijanka [135]
<span>B: can be caused by volcanic eruptions</span>
7 0
3 years ago
Read 2 more answers
How many bits must be “flipped” (i.e., changed from 0 to 1 or from 1 to 0) in order to capitalize a lowercase ‘a’ that’s represe
Neporo4naja [7]

<span>To capitalize lowercase “a” which is 0110001 which is “A” you will need to flip the following bites 01000001<span> as represented in ASCII. Since we are only looking at 2bit digit which is 0 and 1 which  has a 256 possible combinations from 0 up to 255. </span></span>


6 0
3 years ago
I need help! Please please
Scorpion4ik [409]

The correct answers are given as:

  1. Turning the lens dial clockwise
  2. Manual settings
  3. Tone
  4. File format
  5. JPEG or RAW

The given questions had to do with taking photos, photography, and the likes and how lenses are used to capture images, and file formats are used to select the size and quality of images.

<h3>What is Photography?</h3>

This refers to the art of taking pictures in a background in a bid to make still images.

Hence, we can see that The correct answers are given:

  1. Turning the lens dial clockwise
  2. Manual settings
  3. Tone
  4. File format
  5. JPEG or RAW

The given questions had to do with taking photos, photography, and the likes and how lenses are used to capture images, and file formats are used to select the size and quality of images.

Read more about photography here:

brainly.com/question/13600227

#SPJ1

6 0
1 year ago
Given the function definition below, what is the effect of thecall:
Romashka-Z-Leto [24]

Answer:

Hi!

The correct answer is E.

Explanation:

void change(int ar[], int low, inthigh)  {  

 int temp;

 if(low< high)  {  <em>// here ask if the positions low and high of the array are the same.</em>

  temp= ar[low];  <em>// first, saves the element on ar[low] in temp.</em>

  ar[low]= ar[high];  <em>// second, the element on ar[high] in ar[low]. First switch.</em>

  ar[high]= temp;  <em>// third, saves the element on temp in ar[high]. Complete switch.</em>

  change(ar,low + 1, high - 1);  <em>// Recursive call, adding one position to low, and subtracting one position to high. </em><em>Important: </em><em>When low and high have the same value, the recursive call will finish.</em>

}

}

Result: Switch the lower half of elements in the array with the upper half.

8 0
3 years ago
Read 2 more answers
Other questions:
  • Consider a bit stuffing framing method where the start of a frame is indicated by 6 consecutive ones, followed by 2 zeroes. What
    8·1 answer
  • Add three methods to the Student class that compare twoStudent objects. One method should test for equality. A second method sho
    13·1 answer
  • Problem statement: Using loop, write a program that will ask the user to enter a character for left or right. Then, the user wil
    13·1 answer
  • Please answer fast - screenshot included.
    5·1 answer
  • Sadie helman runs a web site for amateur snowboarders. she likes to post videos and music related to snowboarding on her site as
    12·1 answer
  • Narrate an incident from the experience of a 14 year old girl which brings out the message: " Never leave till tomorrow what you
    10·1 answer
  • Mrs. Zoo gave out the rubric for our essay. She stated that our essay should be complete by Friday of that week. I didn't have t
    13·1 answer
  • Assume that processor refers to an object that provides a void method named process that takes no arguments. As it happens, the
    7·1 answer
  • Why is translator required ​
    11·1 answer
  • How to be gud at Friday night funk
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!