Exam 3: Methods and Behaviors
Exam 1: Introduction to Computing and Programming75 Questions
Exam 2: Data Types and Expressions75 Questions
Exam 3: Methods and Behaviors75 Questions
Exam 4: Creating Your Own Classes75 Questions
Exam 5: Making Decisions75 Questions
Exam 6: Repeating Instructions75 Questions
Exam 7: Arrays75 Questions
Exam 8: Advanced Collections74 Questions
Exam 9: Introduction to Windows Programming75 Questions
Exam 10: Programming Based on Events75 Questions
Exam 11: Advanced Object-Oriented Programming Features75 Questions
Exam 12: Debugging and Handling Exceptions75 Questions
Exam 13: Working With Files75 Questions
Exam 14: Working With Databases75 Questions
Exam 15: Web-Based Applications73 Questions
Select questions type
The definition for a method includes just the heading. The signature includes the heading and the body of the method.
(True/False)
4.9/5
(39)
The first line of a method is called the ____ of the method.
(Multiple Choice)
4.9/5
(36)
public static int Abs(int)
Which of the following would be a valid call to the above method?
(Multiple Choice)
4.9/5
(36)
When a distinction is made between parameters and arguments, ____.
(Multiple Choice)
4.9/5
(35)
The return keyword may not be included with a non-value returning method (void method).
(True/False)
4.9/5
(45)
Methods may be defined in any order and placed anywhere in the file, in or outside of the class.
(True/False)
4.9/5
(26)
The body of a method can include statements that declare other methods.
(True/False)
4.7/5
(32)
Console applications require a Main( ) method, unlike Windows applications that do not require a Main( ) method.
(True/False)
4.8/5
(36)
The ____ parameter type cannot be used unless the original argument is initialized before it is sent to the method.
(Multiple Choice)
4.9/5
(45)
Methods are the members of a class that perform an action, and through writing methods you describe the behavior of data.
(True/False)
4.7/5
(37)
Showing 61 - 75 of 75
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)