What is encapsulation in ict?
No Answer is Posted For this Question
Be the First to Post Answer
What is overloading and its types?
What is overriding in oops?
What do you mean by Encapsulation?
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.
#include <iostream> using namespace std; struct wow { int x; }; int main() { wow a; a.x = 22; int c = a.x; int *b = new int; cout << c; return 0; } option: No output 0 22 -(11) Will not compile
What is the use of unnamed namespaces in OOPS? The only advantage I know is that they dont need the scope resolution operator while accessing them. I want to know some other advantages of unnamed namespaces...
Which method cannot be overridden?
What are the benefits of polymorphism?
is there any choice in opting subjects like 4 out of 7
What is an orthogonal base class?
What is a class and object?
What is Object and Class? What are the differences between them?