answersLogoWhite

0


Best Answer

Strictly speaking, neither. Although member functions are obviously members of an object, this is merely an abstraction. In reality, there is only one instance of every member function, not one per object. The function knows which instance it was invoked against through the implicit 'this' pointer that is passed to the function through a hidden parameter. Thus execution occurs within the function that was invoked, not within the objects itself.

User Avatar

Wiki User

9y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: If object 1 call object 2 in oop in which object the excution happen?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Explain that Object identification is a major challenge in OOP?

In a well-planned and structured OOP setting, object identification is not a major challenge.


Why is C plus plus is not a true OOP language?

C++ is based on C. C was not object oriented, therefore the language was not made to be object oriented and moreover C++ is not a "true OOP language". It is simply a non-OOP language with OOP functionality built onto it.


What is containment in oop?

When an object in created within another object, the relationship between them is containment.


What is full form of oop's?

Object Oriented Programming


What is Message sending in OOP?

In its simplistic explanation its where one object sends information to another object.


What are the differences between Java OOP and PHP OOP?

JAVA is an Object Based Programming Language. it doesn't provide multiple inheritance and operator overloading. while Object Oriented Lanuages provides both.


Is PHP object oriented?

Yes - 'advanced' PHP programming uses Object Oriented Programming (OOP).


What bird goes oop oop oop?

The hoopoe makes a sound that goes 'oop oop oop.' In many cultures, the bird has a similar name because of this particular call they are known for. Hoopoes are birds from the Afro-Eurasian region. They have distinctive feather patterns in their wings and crests, as well as flat dark bills.


Full form of oops?

The full form of OOP is Object-Oriented Programming.


What is oops code in computer science?

oop is just object oriented programming...


Why c is called partially an OOP language?

C is not an OOP language, period. However, while C++ supports OOP it does not rely on it. With C++, you can mix procedural, structured and object-oriented principals by mixing C++ code with C-style code and even raw assembly routines, neither of which are object-oriented.


What programming category does OOP belongs?

Object-oriented programming is a category of programming languages. On a larger scale, OOP would belong under the imperative programming paradigm.