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
Marina86 [1]
2 years ago
13

What is a method? an object instantiated from a class a coordinated sequence of instructions that will be carried out when reque

sted using Alice control structures such as a "Loop" to shorten code an elegant and efficient way of programming
Computers and Technology
1 answer:
yKpoI14uk [10]2 years ago
7 0

Complete Question:

What is a method?

A. An object instantiated from a class

B. An elegant and efficient way of programming

C. A coordinated sequence of instructions that will be carried out when requested

D. Using Alice control structures such as a a "Loop" to shorten code

Answer:

C. A coordinated sequence of instructions that will be carried out when requested

Explanation:

A method also known as function or procedure in other languages is a written set of code with a name and parameter list that can be requested/ called/invoked by typing out its name to carryout its function. A method can be seen as a  subprogram which carries out some action on data and most times gives back (returns) a value.

You might be interested in
A server-side extension ________________. provides its services to the web server in a way that is totally transparent to the cl
damaskus [11]
A: provides its services to the Web server in a way that is totally transparent to the client browser.
8 0
3 years ago
(03 MC)Why is it important to set goals and share them with others?
Ad libitum [116K]

Answer:

answer is b

Explanation:

hope it was helpful

3 0
2 years ago
The theory of continental drift suggests that at one time,
MakcuM [25]
The Continents were all joined into one land mass
3 0
3 years ago
Read 2 more answers
Dr. Joon asks her students how to insert a table in an Excel workbook. The students record the steps a chart. Which students lis
Leona [35]

Answer:

C

Explanation:

Both Table and Format as Table can be used to create a table

4 0
3 years ago
Given the following method definitions: void mystery(double a) { System.out.print("double! "); } void mystery(int a) { System.ou
kicyunya [14]

Answer:

The correct answer to the following question is option "b".  

Explanation:

The method having the same name but the arguments have different so it is called method overloading. It is a part of the object-oriented programming language (oops).  

  • In the given code we define same method two times that is "mystery()". but in this method, we pass two different parameters. For the first time, we pass a double variable that is "a" as a parameter. In the second time, we pass an integer variable that is "a" as a parameter and in both functions, we write some codes.
  • In the calling time, we call function two times. In first time calling we pass an integer value that is "1" and second time calling we pass double value that is "1.0". So the output of this code is "int! double!".  

That's why the option "b" is correct.

6 0
2 years ago
Other questions:
  • Danny is editing the text content of a single page on a website he created a year ago. What part of the tag would he have to upd
    11·1 answer
  • 2.27 LAB: Driving costs Driving is expensive. Write a program with a car's miles/gallon and gas dollars/gallon (both doubles) as
    14·2 answers
  • To create a chart, you need to select at least
    8·1 answer
  • What color mode would you use when designing for web & devices?
    9·1 answer
  • The advancement in speed of transportation is attributed to invention of this device
    8·1 answer
  • -(-13) P binary using signed. 2's complement representation
    11·1 answer
  • MyProgramming Lab
    5·1 answer
  • A _____ is an Access database object that allows you to arrange the fields of a record in any layout so you can enter, edit, and
    6·1 answer
  • What is another term used for next generation firewalls
    12·1 answer
  • Convert 12 bits to bytes​
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!