Reputation: 101
I am relatively new to Java and I had an exam past year that got me stuck.
The task asked me to differentiate which options run at Compilation time / Runtime.
Are there any sources I can read to improve my understanding on static / dynamic binding?
Upvotes: 2
Views: 3290
Reputation: 3021
ClassCastException
(Java Type Casting)instanceof
(What are the things are checked at compile time by Java?)Upvotes: 5