write a program for function overloading?
Answer Posted / n. sakthi ganesh
8.6 for float
34 for int
Is This Answer Correct ? | 64 Yes | 23 No |
Post New Answer View All Answers
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 a superclass in oop?
What is advantage of inheritance?
Question: Implement a base class Appointment and derived classes Onetime, Daily, Weekly, and Monthly. An appointment has a description (for example, “see the dentist”) and a date and time. Write a virtual function occurs_on(int year, int month, int day) that checks whether the appointment occurs on that date. For example, for a monthly appointment, you must check whether the day of the month matches. Then fill a vector of Appointment* with a mixture of appointments. Have the user enter a date and print out all appointments that happen on that date.
What is polymorphism programming?
What is oops and its features?
Why multiple inheritance is not allowed?
What is polymorphism in oop example?
Is this job good for future? can do this job post grduate student?
What does <> mean pseudocode?
Can main method override?
Can we create object of abstract class?
What polymorphism means?
What are classes oop?
What is the real life example of polymorphism?