Answer Posted / chabi
features of oops:
objects.
classes
encapsulation
abstraction
inheritance
polymorphism
dynamic binding
message communication
| Is This Answer Correct ? | 84 Yes | 20 No |
Post New Answer View All Answers
What is the difference between a constructor and a destructor?
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.
write a code for this. serial_number contained in the header of the file will be read , if this serial number is less than a previous serial number within a successfully processed file, or is the same as another serial number within a successfully processed file, or if the field contains anything other than 7 digits, then the file must error with the reason ‘Invalid SERIAL_NUMBER’.
What is an advantage of polymorphism?
write a program to find 2^n+1 ?
What is balance factor?
State what is encapsulation and friend function?
what type of questions
How do you use inheritance in unity?
What is object-oriented programming? Webopedia definition
What is difference between pop and oop?
What is the difference between encapsulation and polymorphism?
What is overriding in oops?
Why do we use oops?
What are different types of JVM's? for example we use dalvik jvm for android then what about the remaining operating systems?