Difference between over loading and over ridding?
Answer Posted / sri
overloading means when u define more than one function with
same name but different arguments and return type.it is
compiletime allocation
overriding means when we define more than one function with
same name,same arguments.it mainly used in inheritance
concept.it is runtime allocation
Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What is the significance of classes in oop?
Write A Program to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions)
Can static class have constructor?
What are the three main types of variables?
What are the types of abstraction?
Why polymorphism is used in oops?
What is persistence in oop?
What are classes oop?
What is encapsulation in simple terms?
Get me a number puzzle game-program
Why do we use polymorphism in oops?
Write a program to implement OOPS concepts such as inheritance, polymorphism, friend function, operator overloading?
Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box
What is oops?what is its use in software engineering?
Is oop better than procedural?