Skip to content

Compile Time Type VS Runtime Type

Russell Saerang edited this page Sep 11, 2021 · 4 revisions
Compile-time Run-time
Left hand side of the assignment Right hand side of the assignment
The type in which the variable is declared The type the variable is assigned to
Restricts methods that can be called upon declaration/compilation Actual methods to invoke are determined during runtime
Method overloading Method overriding
Static/early binding Dynamic/late binding
Clone this wiki locally