Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...

OOPS Interview Questions
Questions Answers Views Company eMail

Which language is pure oop?

158

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.

21

Question: Write a program that prints a paycheck. Ask the program user for the name of the employee, the hourly rate, and the number of hours worked. If the number of hours exceeds 40, the employee is paid “time and a half”, that is, 150 percent of the hourly rate on the hours exceeding 40. Be sure to use stepwi se refine ment and break your solution into several functions. Use the int_name function to print the dollar amount of the check.

17


Post New OOPS Questions






Un-Answered Questions { OOPS }

What are the features of oop?

183


What is interface in oop?

187


why reinterpret cast is considered dangerous?

1438


what are the ways in which a constructors can be called?

1185


just right the logic of it 1--> If few people are electing then every time ur candidate should win 2--> arrange books in box, if box carry weight == books weight then take another box..... find the no of box required.

6085






What is polymorphism what are the different types of polymorphism?

164


Templates mean

1175


What is oop in simple words?

183


Can static class have constructor?

178


What is use of overloading?

195


given a set based questions and 5 questions based on it next data sufficiciency questions 2 and 2/3 english sentence completion with options very easy and 2 synononmys paragraph with 10 questions 10 minutes replace =,-,*,% with -,%,+,* type questions 5 3 questions lik following itssickhere itssickthere itssickhere istsickhere which is nt alike the others very easy

1729


What is the advantage of oop over procedural language?

170


Why do we use oop?

193


Why is destructor used?

182


What is polymorphism what is it for and how is it used?

179