Interchangeability (computer science)

From HandWiki
Revision as of 19:27, 4 August 2021 by imported>PolicyEnforcerIA (attribution)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.