The fundamental difference between primitive type and classes - PART 2



  • Analogy: a layman's explanation of the difference between an object and an object reference



  • Why is it important to understand the difference between class variables and primitive type variables ?



  • An Analogy of Objects and Object References


  • Making the Rectangle example independent