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 encapsulation c#?
Hi friends I have experience of 6 months in website design and maintanence. Now i am looking for other IT jobs.. to switch platform. please post any interview you know in chennai.
What is overloading and its types?
What is coupling in oops?
What is class in oop with example?
What are the 5 oop principles?
Why do we use class?
what are the ways in which a constructors can be called?
write a code for this. serial_number contained in the header of the file will be read , if this serial number is less than a previous serial number within a successfully processed file, or is the same as another serial number within a successfully processed file, or if the field contains anything other than 7 digits, then the file must error with the reason ‘Invalid SERIAL_NUMBER’.
How do you answer polymorphism?
How do you achieve runtime polymorphism?
How oops is better than procedural?
What is multilevel inheritance in oop?
Can we create object of abstract class?
Who invented oop?