Difference between over loading and over ridding?
Answer Posted / shashikanth c r
Overloading is nothing but compile time allocation where we
will come to know which method will be called. In this
method we can overload either a method or even operators
too.
Overridding is nothing but run time allocation. We being
programmers can let the program to deside which method
should be called during the execution. During comp time,
we will never come to know which object will call which
method. This can be achived by using VIRTUAL keyword.
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
Get me an image implementation program.
Describe these concepts: Polymorphism, Inheritance and Abstraction.
2. Give the different notations for the class.\
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 causes polymorphism?
What is the renewal class?
Why it is called runtime polymorphism?
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
What is polymorphism explain its types?
What are oops functions?
is there any choice in opting subjects like 4 out of 7
What does sksksk mean in text slang?
What is the highest level of cohesion?
What is the oops and benefits of oops programming?
What is coupling in oops?