Abstract

  • Custom Datatype that is Immutable (a new object is created when a new value is assigned)
  • Make Primitive Datatype to fit into the OOP concept
  • Has built-in method to convert current value to other Primitive Datatype or custom datatypes

Resource Demanding

Comes with cost of allocating Heap Segment for OOP Object & collecting garbage afterward. Thus, less efficient than Primitive Datatype