Answer Posted / naveen malik
The behavior of an object can depend upon the state its in,
thus exhibiting Polymorphism. Consider a car colliding with
a wall. The impact of the process would depend upon the
approach speed of the car, the Angle it strikes in, the
strength of the wall and so on. If two cars were to collide,
the results would be much different, with both of them
receiving considerable damage.
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
Who invented oop?
2. Give the different notations for the class.\
How can you overcome the diamond problem in inheritance?
What is encapsulation and abstraction? How are they implemented in C++?
write a program using c++ to implement single contiguous memory mangement techniques.display the content of the main memory after yhe allocation of jobs and percentage of the wastage of the main memory
What are the advantages of polymorphism?
Why do we use inheritance?
What are the three main types of variables?
if i have same function with same number of argument but defined in different files. Now i am adding these two files in a third file and calling this function . which will get called and wht decide the precedence?
What are functions in oop?
Can a destructor be called directly?
Plese get me a perfect C++ program for railway/airway reservation with all details.
What is abstraction example?
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?
What is abstraction encapsulation?