What's the difference between
and
Enter two words to compare and contrast their definitions, origins, and synonyms to better understand how those words are related.

Encapsulation vs Container - What's the difference?

encapsulation | container |

As nouns the difference between encapsulation and container

is that encapsulation is the act of enclosing in a capsule; the growth of a membrane around (any part) so as to enclose it in a capsule while container is a big container made of metal.

encapsulation

English

Noun

(wikipedia encapsulation) (en noun)
  • The act of enclosing in a capsule; the growth of a membrane around (any part) so as to enclose it in a capsule.
  • Grouping together an object’s ‘state’ (its data) and the operations that may alter or interrogate it (its methods).Huw Collingbourne, The Book of Ruby'', ''‘Encapsulation’ or ‘Information Hiding’? , page 140
  • (label) The process of arranging data into packets that can be transmitted using a given protocol.
  • References

    ----

    container

    English

    Noun

    (en noun)
  • An item in which objects, materials or data can be stored or transported.
  • A very large, typically metal, box used for transporting goods (also cargo container).
  • (by extension) someone who holds people in their seats or in a (reasonably) calm state.
  • (computing) A file format that can hold various types of data.
  • * 2011 , Cory Altheide, Harlan Carvey, Digital Forensics with Open Source Tools (page 187)
  • As the MP4 container can store audio, video, or both, the M4A naming and file extension is used to hint that this MP4 container holds solely audio information.
  • (computing, GUI) Any user interface component that can hold further (child) components.
  • Synonyms

    * See also

    Descendants

    * Portuguese:

    Anagrams

    * ----