What is overloading and its types?
Answer / Rishabh Shukla
Overloading refers to the ability of a programming language to allow multiple methods or functions with the same name but different parameters. Overloading can be achieved through method overloading (where methods have the same name but different parameters) or operator overloading (where operators are redefined for custom data types).
| Is This Answer Correct ? | 0 Yes | 0 No |
What are the main differences between procedure oriented languages and object oriented languages?
9 Answers IBM, Infosys, Wipro,
What is constructor in oop?
What is a mixin class?
what is the main difference between sizeof() operator in c and c++
What is object-oriented programming? Webopedia definition
wht is major diff b/w c and c++?
What is the difference between XML Web Services using ASMX and .NET Remoting using SOAP?
Write a program to find out the number of palindromes in a sentence.
What is an interface in oop?
I am DeePu sotware engineer working with EMC corporation ,recently I had attended mcafee interview . Their questions were at heights of stupidity , I don't know what they want , I am a developer with 4 year experienced .I am listing the questions asked 1:What is the flag in g++ to avoid structure padding 2:In wht order parameters are passed to stack 3:How you will edit code segment of an exe
suppose A is a base class and B is the derved class. Both have a method foo which is defined as a virtual method in the base class. You have a pointer of classs B and you typecast it to A. Now when you call pointer->foo, which method gets called? The next part of the question is, how does the compiler know which method to call?
Describe what an Interface is and how it?s different from a Class.