The method overriding is also known as ________ time polymorphism.
- compile-time
- dynamic
- runtime
- static
Method overriding is a form of polymorphism that occurs at runtime, making it dynamic polymorphism. It allows the actual method to be determined at runtime based on the object's type, which is why it's also known as runtime polymorphism.
Loading...
Related Quiz
- How do you specify a timeout while trying to connect to a remote socket?
- To execute a batch of commands, we use the ________ method.
- The collect() method in the Stream API is a type of ________ operation.
- Which protocol is typically used to securely send data over the web?
- Which method is used to properly stop a JavaFX application?