Harnoor Singh wrote:Interface of the object is the method/methods through which it interacts with other objects or other part of program.
Absolutely this is what i was looking for, Thanks Harnoor Singh.
now my next question is that, is it right to say that we inherit interface of an object in inheritance and we do not inherit interface of an object in composition?