Services
Discover
Homeschooling
Ask a Question
Log in
Sign up
Filters
Done
Question type:
Essay
Multiple Choice
Short Answer
True False
Matching
Topic
Computing
Study Set
Microsoft Visual C# 2015 An Introduction to Object-Oriented Programming
Quiz 7: Using Methods
Path 4
Access For Free
Share
All types
Filters
Study Flashcards
Practice Exam
Learn
Question 1
Multiple Choice
With ____, if a programmer changes the way in which a method internally works, programs that use that method will not be affected and will not need to be modified.
Question 2
Multiple Choice
Because the ReadLine() method call can be assigned to a string, its return type is ____ .
Question 3
True/False
The type of an argument in a method call must exactly match the type of the corresponding parameter specified in the method declaration.
Question 4
Multiple Choice
If you use the keyword modifier ____, you indicate that a method can be called by referring to the class rather than an object from the class.
Question 5
Multiple Choice
A method ____ is a variable that holds data passed to the method when it is called; it receives an argument's value when the method executes.
Question 6
Multiple Choice
The ____ accessibility modifier allows access to a method from other classes.
Question 7
Multiple Choice
A program element's ____ is the segment of code in which it can be used.
Question 8
True/False
A declaration for a method that receives two or more arguments must list the type for each parameter separately only if the parameters have different types.
Question 9
Multiple Choice
A parameter within a method header is called a(n) ____ parameter.
Question 10
True/False
A method can return, at most, one value to a method that calls it.
Question 11
Multiple Choice
To more easily incorporate methods into a program, it is common practice to store methods in their own classes and files. Then you can add them into any application that uses them. The resulting compound program is called a(n) ____.