Interchangeability (computer science)

From Wikipedia, the free encyclopedia
Jump to: navigation, search

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.