Exam 4: More Object Concepts
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
____ involves using one term to indicate diverse meanings, or writing multiple methods with the same name but with different parameter lists.
Free
(Multiple Choice)
4.7/5
(38)
Correct Answer:
B
You can overload methods correctly by providing different parameter lists for methods with the same name.
Free
(True/False)
4.9/5
(47)
Correct Answer:
True
When they have the same name, variables within ____ of a class override the class's fields.
Free
(Multiple Choice)
4.8/5
(37)
Correct Answer:
D
When you properly ____ a method, you can call it providing different argument lists, and the appropriate version of the method executes.
(Multiple Choice)
4.7/5
(29)
Within any class or method, the code between a pair of curly braces is called a(n) ____.
(Multiple Choice)
4.9/5
(40)
Match each term with the correct statement below.
Premises:
Data type consisting of a list of values
Responses:
constant
package
Java.time
Correct Answer:
Premises:
Responses:
(Matching)
4.9/5
(42)
Match each term with the correct statement below.
Premises:
Must be explicitly named in an import statement
Responses:
Java.time
package
overloading
Correct Answer:
Premises:
Responses:
(Matching)
4.8/5
(39)
A variable comes into existence, or ____, when you declare it.
(Multiple Choice)
4.8/5
(33)
A(n) ____ is simply a folder that provides a convenient grouping for classes.
(Multiple Choice)
4.9/5
(48)
When you instantiate an object from a class, ____ is reserved for each instance field in the class.
(Multiple Choice)
4.8/5
(30)
You can use the asterisk (*) as a ____, which indicates that it can be replaced by any set of characters.
(Multiple Choice)
4.8/5
(37)
The ____ statement notifies the program that you will be using the data and method names that are part of the imported class or package.
(Multiple Choice)
4.8/5
(35)
Write Java statements that use the now() and of() methods in the LocalDate class.
(Essay)
4.8/5
(44)
Explain why it is a problem that the highlighted statements are local variables. How could you fix this problem?

(Essay)
4.8/5
(47)
What does a programmer need to know in order to use two variables with the same name in a class?
(Essay)
4.9/5
(34)
Explain why the highlighted statements will result in an illegal action.

(Essay)
4.7/5
(41)
A method can receive ____ arguments, even if it is defined as needing double arguments.
(Multiple Choice)
4.9/5
(34)
When you overload a Java method, you write multiple methods with a shared name.
(True/False)
4.8/5
(44)
Showing 1 - 20 of 84
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)