Exam 6: Using Methods

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

The method name and parameter list taken together form the ____________________ of the method.

Free
(Short Answer)
4.7/5
(29)
Correct Answer:
Verified

signature

When you create methods with the same name but with different parameter lists, those methods are known as ____________________.

Free
(Short Answer)
4.8/5
(40)
Correct Answer:
Verified

overloaded
overloaded methods

You can pass an entire array to a method, or individual array element values.

Free
(True/False)
4.9/5
(32)
Correct Answer:
Verified

True

A method's ____ consists of the method's statements.

(Multiple Choice)
4.8/5
(37)

Programmers say that data items are ____ only after they have been declared and within the method in which they are declared.

(Multiple Choice)
5.0/5
(37)

The ____________________ type of a method indicates the data type of the value that the method will send back to the location where the method call was made.

(Short Answer)
4.7/5
(36)

A method's name and parameter list constitute the method's ____.

(Multiple Choice)
4.9/5
(34)

When a method returns nothing, it is known as a(n) ____________________ method.

(Short Answer)
4.7/5
(33)

Methods can be ____ correctly by providing different parameter lists for methods with the same name.

(Multiple Choice)
4.8/5
(40)

Modularization provides ____.

(Multiple Choice)
4.9/5
(34)

In every object-oriented programming language, the variables and constants declared in any method are usable anywhere within the program.

(True/False)
4.9/5
(34)

A(n) ____________________ is a reasonable unit of programming, designed to tackle one small task at a time.

(Essay)
4.9/5
(40)

____ is the feature of programs and methods that assures you each has been tested and proven to function correctly.

(Multiple Choice)
4.8/5
(40)

An advantage of ____________________ is that multiple programmers can work on a large problem.

(Short Answer)
4.8/5
(38)

Overloading a method is a good idea because it eliminates some programming work compared to writing separate methods.

(True/False)
4.8/5
(28)

____________________ variables are known to the entire class.

(Short Answer)
4.8/5
(34)

Programmers say that variables and constants declared within a method are ____ only after declaration within that method.

(Multiple Choice)
4.9/5
(45)

A method's ____ includes the method identifier and possibly other necessary identifying information.

(Multiple Choice)
4.9/5
(34)

Methods are sometimes called ____.

(Multiple Choice)
5.0/5
(32)

If you declare variables and constants within the methods that use them, the methods are more ____________________.

(Short Answer)
4.9/5
(38)
Showing 1 - 20 of 50
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)