+ 1

What is static binding and dynamic binding?

What is binding in Java? 😶

25th Jan 2017, 4:14 PM
Deep chand
Deep chand - avatar
1 Antwort
+ 1
Static binding is compile time polimorphism that means method overloading. class A{ public void test(){ //operation } } class B extends A{ public void test(){ } } Dynamic binding is run time polymorphism that is method overridding class A{ public void test(){ //operation } public int test(){ //operation } } Binding means invoking a method or instanses.
25th Jan 2017, 6:40 PM
Faruque Hossain
Faruque Hossain  - avatar