CoolInterview.com - World's Largest Collection of Interview Questions
 Interview Questions  
 Our Services  

Get 9,000 Interview Questions & Answers in an eBook.


  • 9500+ Pages
  • 9000 Question & Answers
  • All Tech. Categories
  • 14 MB Content

    Get it now !!


    Send your Resume to 6000 Companies


  • INTERVIEW QUESTIONS LANGUAGES C++ DETAILS
    Question :
    What do you mean by binding of data and functions?



    Category C++ Interview Questions
    Rating (4.0) By 1 users
    Added on 7/19/2006
    Views 2199
    Rate it!
    Answers:

    Encapsulation is the concept to binding of data and functions.The data members are allowed to access by appropriate class functions or methods.Data members can't access from outside class.



    binding the data and functions is called"databinding".



     Posted by: sreelatha    

    Contact sreelatha  Contact sreelatha

    Binding is the process of connecting the function call to the function body. I.E. When we call the function, the parameters and the function name are passed to a internal function of the system. The system then locates the memory chunk where the function is defined(i.e. provides the address).

    There are 2 types of binding:
    1. Early binding: When the binding happens during the compilation.(Before the run time). Example: Normal functions

    2. Late Binding: Also known as dynamic binding, Run Time binding etc. Here the binding happens during the runtime.
    Example: Virtual functions.



     Posted by: Manas Ranjan Padhy    

    Contact Manas Ranjan Padhy  Contact Manas Ranjan Padhy


    If you have the better answer, then send it to us. We will display your answer after the approval.
    Name :*
    Email Id :*
    Answer :*
    Verification Code Code Image - Please contact webmaster if you have problems seeing this image code Not readable? Load New Code
    Process Verification  Enter the above shown code:*
    Inform me about updated answers to this question

       
    Related Questions
    View Answer
    What is friend function?


    View Answer
    What is public, protected & private?


    View Answer
    What is polymorphism? Explain with an example?


    View Answer
    What is a class?


    View Answer
    What is the difference between structures and classes in C++?
    View Answer
    What is an object?


    View Answer
    What is the difference between class and structure?


    View Answer
    We can overload assignment operator as a normal function.But we can not overload assignment operator as friend function why?



    View Answer
    What are virtual functions?


    View Answer
    What is the Basic nature of "cin" and "cout" and what concept or principle we are using on those two?

    View Answer

    Please Note: We keep on updating better answers to this site. Subscribe to our newsletter to get notified when better answer is posted.

    Notify me when better answer is posted!
    Email:

    View ALL C++ Interview Questions

    User Options
    Sponsored Links


    Copyright ©2003-2009 CoolInterview.com, All Rights Reserved.
    Privacy Policy | Terms and Conditions
    Page URL: http://www.coolinterview.com/interview/6151/default.asp?cachecommand=bypass


    Download Yahoo Messenger | Placement Papers| FREE SMS | ASP .Net Tutorial | Web Hosting | Dedicated Servers | Joke of the Day

    0.42