73 Views

what is early/static binding in Java??


S. Saha 11th Jan, 2020
Answer (1)
shivangi mehta 11th Jan, 2020

Hello,

Lets understand binding first.

Binding means the link between reference and actual code e.g . when you refer a variable it's bonded to the code where it is defined, similarly when you call a method, it's linked to the code where a method is defined.

There are two types of method binding in Java, static binding and dynamic binding. When a method is called in Java it's bonded to the actual code either at compile time or runtime, when the program is actually started and objects are created. As the name suggest, static binding is more of static nature hence it occurs at compile time i.e. your code knows which method to call once you compiled your Java source file into a class file. Since it happens early in program's life cycle it is also known as early binding in Java.

Related Questions

RV University, Bangalore | BC...
Apply
Comprehensive education for the tech-driven era. Cutting-edge labs and facilities. Merit-based scholarships available
ICFAI Mizoram BCA Admissions ...
Apply
Merit Scholarships available
Jaypee University MCA Admissi...
Apply
Highest CTC 94.25 LPA | Average CTC 13,24 LPA Approved by UGC & AICTC | Accredited by NBA & NAAC A Grade | 98% Students Placed | 260+ Recruiters
Amity University-Noida MCA Ad...
Apply
Among top 100 Universities Globally in the Times Higher Education (THE) Interdisciplinary Science Rankings 2026
KIET MCA Admissions 2026
Apply
Affiliated to AKTU | Approved by AICTE | Accredited by NAAC A+ | Rs. 90 LPA Highest CTC | Microsoft, Samsung, Infosys, Adobe, Amazon | NIRF-2023 En...
Navrachana University BCA Adm...
Apply
Ranked as the 3rd Best Private University in Gujarat by Education World UGC recognized University
View All Application Forms

Download the Careers360 App on your Android phone

Regular exam updates, QnA, Predictors, College Applications & E-books now on your Mobile

150M+ Students
30,000+ Colleges
500+ Exams
1500+ E-books