Exam 3: Using Methods, Classes, and Objects
Exam 1: Creating Java Programs68 Questions
Exam 2: Using Data74 Questions
Exam 3: Using Methods, Classes, and Objects68 Questions
Exam 4: More Object Concepts67 Questions
Exam 5: Making Decisions70 Questions
Exam 6: Looping72 Questions
Exam 7: Characters, Strings, and the Stringbuilder73 Questions
Exam 8: Arrays74 Questions
Exam 9: Advanced Array Concepts74 Questions
Exam 10: Introduction to Inheritance70 Questions
Exam 11: Advanced Inheritance Concepts70 Questions
Exam 12: Exception Handling65 Questions
Exam 13: File Input and Output74 Questions
Exam 14: Introduction to Swing Components74 Questions
Exam 15: Advanced Gui Topics69 Questions
Exam 16: Graphics74 Questions
Exam 17: Applets, Images, and Sound72 Questions
Select questions type
A(n) ____ method is a method that creates and initializes class objects.
(Multiple Choice)
4.9/5
(35)
When you think in an object-oriented manner, everything is a(n) ____________________.
(Short Answer)
4.7/5
(42)
In order to allocate memory for an object, you use the ____ operator.
(Multiple Choice)
4.9/5
(35)
Explain the difference between public access and private access when defining a class.
(Essay)
4.8/5
(38)
The name of the ____ is always the same as the name of the class whose objects it creates.
(Multiple Choice)
4.8/5
(46)
Write a valid class header with public access. Assign a legal identifier of your choice. Then write the body of the class that contains one data field named myPractice with a data type of double. Be sure to include any necessary curly braces and semicolons.
(Essay)
4.8/5
(37)
A(n) ____ variable is known only within the boundaries of the method.
(Multiple Choice)
4.9/5
(33)
You can write your own constructor methods; but when you don't write a constructor method for a class object, Java writes one for you.
(True/False)
4.7/5
(36)
When a value is returned from a method, you are required to use the value when the method is called.
(True/False)
4.8/5
(34)
A method body provides information about how other methods can interact with it.
(True/False)
4.9/5
(35)
Describe fully qualified identifiers and explain why they are necessary.
(Essay)
4.9/5
(39)
The interface is the part of a method that the method's client does not see.
(True/False)
4.8/5
(32)
You can identify a class that is an application because it contains a public static void main() method.
(True/False)
4.8/5
(37)
When a variable ceases to exist at the end of a method, programmers say the variable ____.
(Multiple Choice)
4.8/5
(36)
Match each term with the correct statement below.
-The first line of a method
(Multiple Choice)
4.9/5
(37)
Showing 21 - 40 of 68
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)