What do you mean by binding of data and functions?
Answers were Sorted based on User's Feedback
Answer / selvi
binding is to manipulate to access a data in various forms.
it is nothing but encapsulation.
| Is This Answer Correct ? | 4 Yes | 1 No |
Answer / zoya
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).<br><br>There are 2 types of binding:<br>1. Early binding: When the binding happens during the compilation.(Before the run time). Example: Normal functions<br><br>2. Late Binding: Also known as dynamic binding, Run Time binding etc. Here the binding happens during the runtime. <br>Example: Virtual functions.<br><br>
| Is This Answer Correct ? | 0 Yes | 0 No |
What is destructor example?
how to find the correct email address format by using the programe?
Why is polymorphism used?
Pls...could any one tell me that whether we can access the public data memeber of a class from another class with in the same program. Awaiting for your response Thanku
What is virtual destructor? Why?
3 Answers Agile Software, College School Exams Tests, CSC,
What is overriding vs overloading?
What are the valid types of data that the main () can return in C/C++ language
Contrast OOP and SOA. What are tenets of each?
1 Answers Siebel Systems, Wipro,
Why polymorphism is used in oops?
what is the abstract class,interface ,its difference with a programatic eg.? hi,recently i went for an interview they ask me what is abstract class ,interface and its difference I said abstract class contain abstact method ,abstract method is a method with no body.Abstract class cannot be instantiated.Abstract class is a base class it required derived class for the implementation of method. Interface is a syntactical contract that all derived class should follow it define properties ,method,events which are known as member of interface. Then They asked me what is the difference between them. I said abstract class interface 1.abstact class can implement method 1.interface cant 2.abstact class can contain constructor, 2.interface cant destructor 3.abstract class cannot support multiple 3.interface support inheritance etc Then they said some different answer I said dont no. Then they ask me when i should make abstract class for an project and when i should make interface. I said if suppose there is two class which must be having method with different logic then we sholud make abstract class. and if suppose we have two class having method .with different logic then we can make interface . Am i correct with my explaination.if not correct me .please provide me that when should we create abstract class and interface and what is difference .please help me
What is a scope resolution operator?
How to hide the base class functionality in Inheritance?