Reference VS. Primitive ValuesPrimitives : We store the actual value. Reference : Here variable store the address where the data in heap memory is located. This doesn't store the actual2 min read·surajit-shaw.comJan 21, 2022