Question: In our source code, we can call methods based on which type, the compile-time, or the run-time? Why is it that way? When we actually
In our source code, we can call methods based on which type, the compile-time, or the run-time? Why is it that way? When we actually call the method, which version gets executed, the one in the compile-time class, or the run-time class? What is this concept called? - When we declare a type in our source code, its type is compile-time (I think). Wouldn't these questions be compile-time too? I am a little confused.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
