Which of the following is false about interfaces
A) An interface describes a set of methods that can be called on an object, providing a default implementation for the methods.
B) An interface describes a set of methods that can be called on an object, without providing concrete implementation for the methods.
C) Interfaces are useful when attempting to assign common functionality to possibly unrelated classes.
D) Once a class implements an interface, all objects of that class have an is-a relationship with the interface type.
Correct Answer:
Verified
Q3: Polymorphism allows for specifics to be dealt
Q4: Concrete classes provide implementations for every method
Q5: Abstract classes may not be:
A) inherited
B) accessed
Q6: Polymorphism allows classes to be added with
Q7: Polymorphism helps promote software extensibility.
Q8: Which statement best describes the relationship between
Q10: When a request is made to use
Q12: The abstract methods and properties of a
Q13: If a derived class reference is assigned
Q14: Polymorphism allows you to command a wide
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents