Exam 8: A Second Look at Classes and Objects
Exam 1: Introduction to Computers and Java51 Questions
Exam 2: Java Fundamentals61 Questions
Exam 3: Decision Structures64 Questions
Exam 4: Loops and Files57 Questions
Exam 5: Methods60 Questions
Exam 6: A First Look at Classes58 Questions
Exam 7: Arrays and the Arraylist Class64 Questions
Exam 8: A Second Look at Classes and Objects50 Questions
Exam 9: Text Processing and More About Wrapper Classes60 Questions
Exam 10: Inheritance70 Questions
Exam 11: Exceptions and Advanced File IO56 Questions
Exam 12: A First Look at GUI Applications60 Questions
Exam 13: Advanced GUI Applications58 Questions
Exam 14: Applets and More54 Questions
Exam 15: Creating GUI Applications With Javafx and Scene Builder40 Questions
Exam 16: Recursion42 Questions
Exam 17: Databases48 Questions
Select questions type
If a class has a method named finalize, it is called automatically just before an instance of the class is destroyed by the garbage collector.
(True/False)
4.8/5
(39)
If you have defined a class named SavingsAccount with a public static data member named numberOfAccounts, and created a SavingsAccount object referenced by the variable account20, which of the following will assign numberOfAccounts to numAccounts?
(Multiple Choice)
4.8/5
(36)
The names of the enum constants in an enumerated data type must be enclosed in quotation marks.
(True/False)
4.9/5
(40)
If object1 and object2 are objects of the same class, to make object2 a copy of object1:
(Multiple Choice)
4.9/5
(37)
The whole-part relationship created by object aggregation is more often called:
(Multiple Choice)
4.7/5
(28)
An object's ________ is simply the data that is stored in the object's fields at any given moment.
(Multiple Choice)
4.8/5
(40)
If you write a toString method for a class, Java will automatically call the method any time you concatenate an object of the class with a string.
(True/False)
4.8/5
(28)
When a method's return type is a class, what is actually returned to the calling program?
(Multiple Choice)
4.8/5
(40)
Showing 41 - 50 of 50
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)