Please tell me the oops concept with detailed answer
Answer Posted / saranya
the basic concepts of OOP's are
1.class- it is a collection of variables and methods
2.odjects- it is the run time entity(it is same as real
world objects)
3.data abstraction and encapsulation-essential features of
data not including the background details
4.polymorphism-same name with more than one form
5.inheritance-concept of acquiring the base class properties
there are 5 types of inheritance
1.single inheritance
2.multiple inheritance
3.multilevel inheritance
4.hierarchical inheritance
5.hybrid inheritance
6.dynamic binding- data bind at runtime
7.message passing-communicating information with one another
| Is This Answer Correct ? | 21 Yes | 2 No |
Post New Answer View All Answers
What is the point of 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.
c++ program to swap the objects of two different classes
What does and I oop and sksksk mean?
Is this job good for future? can do this job post grduate student?
Plese get me a perfect C++ program for railway/airway reservation with all details.
What is oops and its features?
What is the benefit of oop?
Where is pseudocode used?
What is the difference between encapsulation and polymorphism?
What do you mean by Encapsulation?
what type of question are asked in thoughtworks pair programming round ?
How to use CMutex, CSemaphore in VC++ MFC
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.
What is polymorphism programming?