Please tell me the oops concept with detailed answer
Answer Posted / vishal
Fundamental concepts of OOPS
1.Object
2.Encapsulation
3.Object Reuse using
-Abstract classes
-Interface
-Inheritance
-Composition
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What language is oop?
They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?
What is difference between pop and oop?
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.
class CTest { public: void someMethod() { int nCount = 0; cout << "This is some method --> " << nCount; } }; int main() { CTest *pctest; pctest->someMethod(); return 0; } It will executes the someMethod() and displays the value too. how is it possible with our creating memory for the class . i think iam not creating object for the class. Thanks in Advance... Prakash
Why is polymorphism important in oop?
What is the difference between abstraction and polymorphism?
What does and I oop and sksksk mean?
Which method cannot be overridden?
What are the important components of cohesion?
What is oops and why we use oops?
What is abstract class in oop?
program for insertion ,deletion,sorting in double link list
What is the important feature of inheritance?
Why do we use class?