Dynamic And Static in Java

This Article is try to figure out some very tricky concepts in Java like: 1. Static binding/Compile-Time binding/Early binding/Method overloading.(in same class) 2. Dynamic binding/Run-Time binding/Late binding/Method overriding.(in different classes) 3. Overload vs Override vs Hiding(Shadow) 4. Variable Hiding vs Method Hiding 5. Type Casting 6. Compile error vs Runtime error 7. Reference Type vs Object Type Note: The above terminology is saying that, static is determined in compile time. ...

 发布时间: 2023-11-07