Interchangeability (computer science)


In computer science, interchangeability is an ability that an object can be replaced by another object without affecting code using the object. That chance usually requires two objects share an interface that is either same strictly or compatible in particular case. See encapsulation article for detail.