Answer Posted / pasu nayan
object is a software bundle of related state and
behavior.it is a instance of a class.all are real world
entity.
Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
#include
How many human genes are polymorphic?
Can enum be null?
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 the purpose of enum?
What is inheritance write a program to show use of inheritance?
What is object in oop with example?
What are oops methods?
What polymorphism means?
write a code for this:trailer recordId contains a value other than 99, then the file must error with the reason ‘Invalid RECORD_ID’(User Defined Exception).
What do you mean by abstraction?
What is overriding vs overloading?
What is encapsulation with real life example?
Can we have inheritance without polymorphism?
What is difference between data abstraction and encapsulation?