Describe functional overloading?
Answers were Sorted based on User's Feedback
Answer / ningu
functional overloading means in a program we can have one or
more functions with the same name but they must differ in
:No of parameters passed
:order of the parameter passed
:the type of the parameter
Oop languages like C++ and Java posses this tecnique
| Is This Answer Correct ? | 8 Yes | 1 No |
Answer / abhishek sinha
functiion overloading means in a program we can define more
than function with the same name but different argument.
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / rasool
Ningu, its not necessary that the functions 'must' differ
in the :No of parameters passed
:order of the parameter passed
:the type of the parameter.
say, I have a function Add(int a , int b)
I still can have a function Add(int*a,int*b).
Function overloading is type of polymorphism in C++.i.e
multiple forms of the same function(methods).Function
overloading comes under compile time polymorphism.
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / harini
function overloading means ,the same functions which is used for different purpose with different parameter..
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / naidu
method name is same and signature is different, signature
means, .type of parameters or
.order of parameters or
.number of param
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / vignesh
c consists of both object oriented and function oriented
but whereas java consists of only object oriented language
| Is This Answer Correct ? | 3 Yes | 5 No |
How would you stop a class from class from being derived or inherited?The constructer should not be Private,as object instantiation should be allowed.
Can java be faster than c++?
What is the Difference between "printf" and "sprintf"?
7 Answers iSoft, PentaWare, TCS,
Can a constructor throw a exception? How to handle the error when the constructor fails?
sizeof - is it a function or operator?
which operator is used for performing an exponential operation a) > b) ^ c) none
What is the outcome of cout< a) 16 b) 17 c) 16.5
How would you differentiate between a pre and post increment operators while overloading?
What is the use of this pointer in c++?
What is functions syntax in c++?
What is a mutable member?
What is an adjust field format flag?