Matching
Match each term with the correct statement below.
Premises:
Data components of a class
Variables you declare within a class, but outside of any method
Used to return a value back to the calling method
Are called class methods
Included within the method declaration parentheses
The first line of a method
An application or a class that instantiates objects of another prewritten class
Variables in the method declaration that accept the values from the actual parameters
The combination of the method name and the number, types, and order of arguments
Responses:
formal parameters
method's signature
instance variables
return statement
parameter type
class user
header
data fields
static method
Correct Answer:
Premises:
Responses:
Data components of a class
Variables you declare within a class, but outside of any method
Used to return a value back to the calling method
Are called class methods
Included within the method declaration parentheses
The first line of a method
An application or a class that instantiates objects of another prewritten class
Variables in the method declaration that accept the values from the actual parameters
The combination of the method name and the number, types, and order of arguments
Premises:
Data components of a class
Variables you declare within a class, but outside of any method
Used to return a value back to the calling method
Are called class methods
Included within the method declaration parentheses
The first line of a method
An application or a class that instantiates objects of another prewritten class
Variables in the method declaration that accept the values from the actual parameters
The combination of the method name and the number, types, and order of arguments
Responses:
Related Questions
Q26: Which of the following is NOT an
Q30: Methods that retrieve values are called _
Q37: To execute a method, you _ it
Q39: Methods used with object instantiations are called
Q40: _ parameters are variables in a method
Q62: A major advantage of a method is
Q72: What are the four components of a
Q75: Does a programmer need to write every
Q76: What are the two parts of every
Q77: Write a valid class header with public
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents