Exam 3: Using Methods, Classes and Objects
Exam 1: Creating Your First Java Classes76 Questions
Exam 2: Using Data81 Questions
Exam 3: Using Methods, Classes and Objects79 Questions
Exam 4: More Object Concepts84 Questions
Exam 5: Making Decisions80 Questions
Exam 6: Looping77 Questions
Exam 7: Characters, Strings and the Stringbuilder82 Questions
Exam 8: Arrays77 Questions
Exam 9: Advanced Array Concepts80 Questions
Exam 10: Introduction to Inheritance78 Questions
Exam 11: Advanced Inheritance Concepts78 Questions
Exam 12: Exception Handling79 Questions
Exam 13: File Input and Output78 Questions
Exam 14: Introduction to Swing Components79 Questions
Exam 15: Using Javafx and Scene Builder65 Questions
Select questions type
Match each term with the correct statement below.
Premises:
Included within the method declaration parentheses
Responses:
header
mutator method
return statement
Correct Answer:
Premises:
Responses:
(Matching)
4.9/5
(42)
For ease in locating class methods, many programmers store them in ____ order.
(Multiple Choice)
4.9/5
(38)
When creating a method that requires multiple parameters, why would a programmer need to understand a method's signature, and why must a method call match the called method's signature?
(Essay)
4.9/5
(35)
Match each term with the correct statement below.
Premises:
Encapsulating method details in a class
Responses:
class user
header
return statement
Correct Answer:
Premises:
Responses:
(Matching)
4.8/5
(36)
A method body provides information about how other methods can interact with it.
(True/False)
4.8/5
(40)
Match each term with the correct statement below.
Premises:
The first line of a method
Responses:
class user
extended
instance variables
Correct Answer:
Premises:
Responses:
(Matching)
4.8/5
(38)
The arguments in a method call are often referred to as ____ . The variables in the method declaration that accept the values from the actual parameters are ____.
(Multiple Choice)
4.9/5
(37)
Match each term with the correct statement below.
Premises:
Method that sets or changes field values
Responses:
dead code
extended
method's signature
Correct Answer:
Premises:
Responses:
(Matching)
4.8/5
(26)
Explain the purpose of a return type of a method. Describe the return value of a method that returns no data.
(Essay)
4.8/5
(43)
Match each term with the correct statement below.
Premises:
The combination of the method name and the number, types, and order of arguments
Responses:
accessor method
return statement
formal parameters
Correct Answer:
Premises:
Responses:
(Matching)
4.8/5
(43)
A unique identifier is most likely used as a ____ key in a database.
(Multiple Choice)
4.8/5
(38)
Public classes are accessible by all objects, which means that public classes can be ____, or used as a basis for any other class.
(Multiple Choice)
4.8/5
(36)
A(n) ____ causes a value to be sent from a called method back to the calling method.
(Multiple Choice)
4.8/5
(44)
Hidden implementation methods are often referred to as existing in a(n) ____.
(Multiple Choice)
4.8/5
(41)
Describe how you can use multiple arguments in a method. Provide an example.
(Essay)
4.8/5
(39)
Showing 61 - 79 of 79
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)