테크매니아
자주 헷갈리는 프로그래밍 용어 본문
반응형
1년에 한번씩은 찾아보는 것 같아서 치트시트용으로 모아보았다.
Literal vs Constant
Literal | Constant |
---|---|
A literal is a value that is expressed as itself. For example, the number 25 or the string "Hello World" are both literals. | A constant is a data type that substitutes a literal. Constants are useful in situations where a specific, unchanging value is to be used at various times during the software program you want to more easily understand the software code |
Entity vs Object
Entity | Object |
---|---|
Entity is a real time object that can be distinguised from other objects. | Object is an entity that has all the attributes and the actions required to be taken. |
An entity contains of attributes. | An entity contains of attributes. |
Entity is a uniquely identifiable object. | An object can be identified using its identifier. |
Attributes is a property of entity. | Inheritance, Encapsulation, Polymorphism and Abstraction are part of object. |
Symbol vs Variable
반응형