Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Java by (1.5k points)
I was attending an interview and the interviewer asked me this question and I got half right.

Can anybody please explain me in Layman's term that what is the difference between static and dynamic binding

1 Answer

0 votes
by (7.2k points)

Static binding uses Type information for binding while Dynamic binding uses Objects to resolve binding. Overloaded methods are resolved (deciding which method to be called when there are multiple methods with same name) using static binding while overridden methods using dynamic binding, i.e, at run time

Related questions

0 votes
1 answer
asked Feb 18, 2021 in Java by Jake (7k points)
0 votes
0 answers
0 votes
1 answer
0 votes
1 answer
asked Feb 17, 2020 in Java by angadmishra (6.5k points)
0 votes
1 answer
asked Jul 29, 2019 in Java by Suresh (3.4k points)

Browse Categories

...