What is oops and why we use oops?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More OOPS Interview Questions

What is data binding in oops?

0 Answers  


When will a constructor executed?

5 Answers   TCS,


what is overloading and overriding?

7 Answers  


What is for loop and its syntax?

0 Answers  


What is polymorphism and types?

0 Answers  


What is nutshell in programming language?

1 Answers   Satyam, Tech Mahindra,


What is multidimensional array?

1 Answers  


What is class and example?

0 Answers  


What is the real time example of inheritance?

0 Answers  


How is data security provided in Object Oriented languages? ?

5 Answers  


#include <iostream> using namespace std; int main() { int a = 3; int c[5][5]; for (int x=0;x<5;x++) { for (int y=0;y<5;y++) { c[x][y] = x*y; } } cout << c[a][2]; }

1 Answers  


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.

0 Answers  


Categories