Answer Posted / priyanka agrawal
In overloading functions will have same name but different
parameters lists but in overridding functions must have
same name and same signature.
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
There are two base class B1,B2 and there is one class D which is derived from both classes, Explain the flow of calling constructors and destructors when an object of derived class is instantiated.
What is for loop and its syntax?
What is balance factor?
What is inheritance in oop?
Why do while loop is used?
What is encapsulation in oop?
Are polymorphisms mutations?
What is the difference between static polymorphism and dynamic polymorphism?
What is the point of polymorphism?
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 oop?
State what is encapsulation and friend function?
Why is it so that we can have virtual constructors but we cannot have virtual destructors?
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.
Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)