You can almost say that with a method you can give


"Q - What action(s) does a function perform that a method does not?

A - A method is code that tells the computer how to perform a task. It gives an object a way to move, turn, speak, orient, etc. A function is code that asks questions about an object. "Am I tall enough to see over the rock?"; "How far do I have to walk?"; "Will my face turn red if I am in danger?". Functions give you the proximity and orientation of two objects and the size, point of view, and other values about an object. Some of these types of questions can be answered in a method by assigning a parameter. Walk - 2 meters; Turn - left; or Say - "Hello". With a function, you can determine how far to walk - 1.3 meters; decide which way to turn - right or left; or decide whether to raise my neck if I cannot see. You can almost say that with a method you can give some general parameters, but with a function, you can get specific parameters. 

Criteria - Respond to the answer above by adding more information to your response or indicate that you disagree with anything that was said and why. Write one paragraph with at least 3 sentences.

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: You can almost say that with a method you can give
Reference No:- TGS0133567

Expected delivery within 24 Hours