difference between overloading and overridding

Answer Posted / poorna chandar rao

mainly overloading and overriding is used java polymorphisum
conbcept
overloading is method name same and method signature also
same it is called static polymorphisum when object is
created that decided by static polymorphisum

overriding is method name same but differtn arguments this
is called dynamic ploymaorphisum

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which method cannot be overridden?

779


write a code for this:trailer recordId contains a value other than 99, then the file must error with the reason ‘Invalid RECORD_ID’(User Defined Exception).

1922


what are the realtime excercises in C++?

2563


class type to basic type conversion

2104


#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

2389


What is new keyword in oops?

804


How to improve object oriented design skills?

772


What is meant by oops concept?

799


what is difference between class template and template class?

2420


What are the advantages of polymorphism?

777


What is overriding vs overloading?

807


write knight tour problem which is present in datastructure

2397


Why it is called runtime polymorphism?

806


Why is it so that we can have virtual constructors but we cannot have virtual destructors?

4364


i am getting an of the type can not convert int to int *. to overcome this problem what we should do?

2075