Difference between over loading and over ridding?
Answer Posted / amit,mumbai
Overloading means when we write diffrent fun. With the Same name & with diffrent singnature then it is called overloading . Overiding means both base & derived class has same name.
| Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
What is encapsulation with example?
What is class in oop with example?
Why do we use polymorphism in oops?
Can a destructor be called directly?
What is inheritance in oop?
can inline function declare in private part of class?
What is polymorphism and example?
Question: Write a program that prints a paycheck. Ask the program user for the name of the employee, the hourly rate, and the number of hours worked. If the number of hours exceeds 40, the employee is paid “time and a half”, that is, 150 percent of the hourly rate on the hours exceeding 40. Be sure to use stepwi se refine ment and break your solution into several functions. Use the int_name function to print the dollar amount of the check.
What is purpose of inheritance?
What does no cap mean?
Write a program to implement OOPS concepts such as inheritance, polymorphism, friend function, operator overloading?
What does and I oop mean?
What is destructor example?
What is variable example?
Why oops is important?