Criado por joannazhang13
mais de 9 anos atrás
|
||
Questão | Responda |
Polymorphism | Mechanism of selecting the appropriate method for a particular object in a class hierarchy |
Selection of the correct method occurs: | During the run of the program |
Dynamic binding | Compiler decides which instance method to call when the program is running |
Static binding | The compiler decides which method to run at compile time. |
Downcasting | Casting a superclass to a subclass type |
ClassCastException | Thrown when there's an attempt to cast an object to a class of which it's not an instance |
Quer criar seus próprios Flashcards gratuitos com GoConqr? Saiba mais.