What are the OOPS concepts?
Answer Posted / nivedha
oops means object oriented programming language.it has many
operation such as
encapsulation,polymorphism,class,inheritance,objects,etc.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is abstraction example?
Why do we use polymorphism?
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.
Is enum a class?
what type of question are asked in thoughtworks pair programming round ?
Can enum be null?
to find out the minimum of two integer number of two different classes using friend function
Whats is abstraction in oops?
Why do we use class in oops?
What is the difference between encapsulation and polymorphism?
Can static class have constructor?
What is overloading in oop?
What are functions in oop?
What is abstraction in oop?
INSTANCE FIELDS DECLARED private ARE ACCESSIBLE BY THE METHODS ONLY.CAN WE CHANGE THE private FIELD OF AN OBJECT IN A METHOD OF SOME OTHER OBJECT OF THE SAME CLASS?