Answer Posted / rupkkkkk
Overriding:- Both the methods are same with same arguments
and same return type with in its class and its subclass.
Overloading:- Both has same method but with different
arguments may or may not be same return type written in the
same class itself.
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
Can static class have constructor?
How to hide the base class functionality in Inheritance?
What is polymorphism and types?
Is oop better than procedural?
Can an interface inherit a class?
Why do we use polymorphism in oops?
IS IT NECESSARY TO INITIALIZE VARIABLE? WHAT IF THE INSTANCE VARIABLE IS DECLARED final ? IS IT NECESSARY TO INITIALIZE THE final VARIABLE AT THE TIME OF THEIR DECLARATION?
What is polymorphism and why is it important?
What is this pointer in oop?
given a set based questions and 5 questions based on it next data sufficiciency questions 2 and 2/3 english sentence completion with options very easy and 2 synononmys paragraph with 10 questions 10 minutes replace =,-,*,% with -,%,+,* type questions 5 3 questions lik following itssickhere itssickthere itssickhere istsickhere which is nt alike the others very easy
Write a program to reverse a string using recursive function?
Why can't we have instance(stack) of a class as a member of the same class like eg.Class A{A obj;} as we can have self refential pointer
Following are the class specifications: class {int a}; class {int b}; Using friend funtion,calculate the max of two objects and display it.
#include
What type of loop is a for loop?