Answer Posted / s.jagadeeswari
Class is just a template. It does not allocate memory
space. When instantiate the object, allocates the memory
space
Is This Answer Correct ? | 22 Yes | 6 No |
Post New Answer View All Answers
What is multilevel inheritance in oop?
What is the main purpose of inheritance law?
What is polymorphism and why is it important?
what is the sylabus for priliminaries?
What exactly is polymorphism?
They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?
Why is polymorphism needed?
write a program that takes input in digits and display the result in words from 1 to 1000
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 encapsulation in oop?
What are the 3 principles of oop?
How oops is better than procedural?
Why do we need polymorphism in c#?
What is object in oops?
write knight tour problem which is present in datastructure