I hv a same function name,arguments in both base class and
dervied class, but the return type is different. Can we call
this as a function overloading? Explain?
Answer Posted / ravi kumar noneria
No,
if two functions with same name has either diff no of
argument or same no of arguments but different type is
called function overloading not return type.
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
Can main method override?
What is object in oop with example?
What is multilevel inheritance?
What is the use of oops?
2. Give the different notations for the class.\
how to get the oracle certification? send me the answer
i=20;k=0;
for(j=1;k-i;k+=j<10?4:3)
{
cout< String = "C++ is an object oriented programming language.An
imp feature of oops is classes and objects".Write a pgm to
count the repeated words from this scenario? Following are the class specifications:
class {int a};
class {int b};
Using friend funtion,calculate the max of two objects and
display it.
What are oops methods? just right the logic of it
1--> If few people are electing then every time ur candidate
should win
2--> arrange books in box, if box carry weight == books
weight then take another box..... find the no of box
required. What is object-oriented programming? Webopedia definition What is abstraction example? What is pure oop? What are main features of oop?