What is Method overloading?

Answer Posted / swetcha

Method overloading occurs when a class contains two methods
with the same name, but different signatures

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

There are two base class B1,B2 and there is one class D which is derived from both classes, Explain the flow of calling constructors and destructors when an object of derived class is instantiated.

1442


What is the point of oop?

642


#include #include #include #include void insert(char *items, int count); int main(void) { char s[255]; printf("Enter a string:"); gets(s); insert(s, strlen(s)); printf("The sorted string is: %s.\n", s); getch(); return 0; } void insert(char *items, int count) { register int a, b; char t; for(a=1; a < count; ++a) { t = items[a]; for(b=a-1; (b >= 0) && (t < items[b]); b--) items[b+1] = items[b]; items[b+1] = t; } } design an algorithm for Insertion Sort

2154


What is encapsulation and abstraction? How are they implemented in C++?

626


Are polymorphisms mutations?

687






design a c++ class for the chess board,provide a c++ class definition for such class(only class definition is required)

6131


What is polymorphism give a real life example?

548


Explain the advantages of inheritance.

660


Who invented oop?

640


What is encapsulation process?

571


What are the three main types of variables?

592


i=20;k=0; for(j=1;k-i;k+=j<10?4:3) { cout<

1409


program for insertion ,deletion,sorting in double link list

2269


What is polymorphism explain its types?

666


How do you answer polymorphism?

569