hamburger menu
All Coursesall course arrow
adda247
reward-icon
adda247
    arrow
    arrow
    arrow
    Which of the following statements is true about early binding and late binding in Object-Oriented Programming?
    Question



    Which of the following statements is true about early binding and late binding in Object-Oriented Programming?

    A.

    Early binding refers to runtime method resolution, while late binding refers to compile-time method resolution.

    B.

    Late binding is achieved through the final keyword in Java.

    C.

    Early binding provides better performance, while late binding offers more flexibility.

    D.

    Late binding does not support polymorphism.

    E.

    Early binding can only occur with abstract classes.

    Correct option is C

    Early binding occurs at compile-time, where the method to be called is resolved during compilation. It is faster as there is no overhead for method resolution at runtime. Late binding, on the other hand, occurs at runtime, offering flexibility by allowing dynamic method resolution, which is essential for achieving polymorphism.
    Example:
    · Early Binding: Non-virtual methods in C++ or methods without virtual or override keywords in Java/C# are examples of early binding.
    · Late Binding: Methods marked as virtual in C++ or override in Java/C# enable late binding for runtime resolution.
    Important Key Points:
    1. Early binding occurs when the compiler determines the method to call at compile time (e.g., static methods, overloaded methods).
    2. Late binding occurs when the method to call is determined at runtime, typically through virtual functions or interfaces.
    3. Polymorphism relies on late binding to dynamically resolve method calls for derived objects.
    Knowledge Booster:
    · Early binding refers to runtime method resolution: Incorrect; early binding is resolved during compilation.
    · Late binding is achieved through the final keyword in Java: Incorrect; final prevents method overriding and disables late binding.
    · Late binding does not support polymorphism: Incorrect; late binding is crucial for achieving polymorphism.
    · Early binding can only occur with abstract classes: Incorrect; early binding is unrelated to abstract classes and applies to static or non-virtual methods.

    Free Tests

    Free
    Must Attempt
    Video Solutions

    RBI Assistant Pre 2026 Full Mock Test -01

    languageIcon English
    • pdpQsnIcon100 Questions
    • pdpsheetsIcon100 Marks
    • timerIcon60 Mins
    languageIcon English
    Free
    Must Attempt
    Video Solutions

    RBI Asst Prelims 2026 : Reasoning Section Test 01

    languageIcon English
    • pdpQsnIcon35 Questions
    • pdpsheetsIcon35 Marks
    • timerIcon20 Mins
    languageIcon English
    Free
    Must Attempt
    Video Solutions

    RBI Asst Prelims 2026 : Quant Section Test 01

    languageIcon English
    • pdpQsnIcon35 Questions
    • pdpsheetsIcon35 Marks
    • timerIcon20 Mins
    languageIcon English
    test-prime-package

    Access ‘SEBI Grade-A Assistant Manager’ Mock Tests with

    • 60000+ Mocks and Previous Year Papers
    • Unlimited Re-Attempts
    • Personalised Report Card
    • 500% Refund on Final Selection
    • Largest Community
    students-icon
    368k+ students have already unlocked exclusive benefits with Test Prime!
    Our Plans
    Monthsup-arrow