Exam 10: Object-Oriented Programming: Polymorphism
Exam 1: Introduction to Computers and Java42 Questions
Exam 2: Introduction to Java Applications34 Questions
Exam 3: Introduction to Classes and Objects34 Questions
Exam 4: Control Statements: Part 142 Questions
Exam 5: Control Statements: Part 227 Questions
Exam 6: Methods: a Deeper Look39 Questions
Exam 7: Arrays and Arraylists44 Questions
Exam 8: Classes and Objects: a Deeper Look27 Questions
Exam 9: Object Oriented Programming: Inheritance22 Questions
Exam 10: Object-Oriented Programming: Polymorphism28 Questions
Exam 11: Exception Handling27 Questions
Exam 12: Gui Components: Part 170 Questions
Exam 13: Graphics and Java 2D19 Questions
Exam 14: Strings27 Questions
Exam 15: Files,streams and Object Serialization29 Questions
Exam 16: Generic Collections41 Questions
Exam 17: Lambdas60 Questions
Exam 18: Recursion13 Questions
Exam 19: Searching, Sorting and Big O22 Questions
Exam 20: Generic Classes and Methods15 Questions
Exam 21: Custom Generic Data Structures17 Questions
Exam 23: Concurrency55 Questions
Exam 24: Accessing Databases With Jdbc35 Questions
Exam 25: JavaFX26 Questions
Select questions type
Which of the following statements about abstract superclasses is true?
Free
(Multiple Choice)
4.8/5
(34)
Correct Answer:
A
The UML distinguishes an interface from other classes by placing the word "interface" in above the interface name.
Free
(Multiple Choice)
4.9/5
(39)
Correct Answer:
C
Which of the following statements is false?
Free
(Multiple Choice)
4.8/5
(35)
Correct Answer:
D
When a superclass variable refers to a subclass object and a method is called on that object,the proper implementation is determined at execution time.What is the process of determining the correct method to call?
(Multiple Choice)
4.9/5
(31)
Consider classes A,B and C,where A is an abstract superclass,B is a concrete class that inherits from A and C is a concrete class that inherits from B.Class A declares abstract method originalMethod,implemented in class B.Which of the following statements is true of class C?
(Multiple Choice)
4.8/5
(26)
Which statement best describes the relationship between superclass and subclass types?
(Multiple Choice)
4.7/5
(37)
A class that implements an interface but does not declare all of the interface's methods must be declared ________.
(Multiple Choice)
4.8/5
(29)
Assigning a subclass reference to a superclass variable is safe ________.
(Multiple Choice)
5.0/5
(36)
If the superclass contains only abstract method declarations,the superclass is used for ________.
(Multiple Choice)
4.9/5
(24)
For which of the following would polymorphism not provide a clean solution?
(Multiple Choice)
4.7/5
(31)
Showing 1 - 20 of 28
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)