Variable vs Object vs Reference

This post was originally posted at and reposted on Medium on 4th Dec 2020.


int age = 5;
float pi = 3.14;


Please continue reading at




Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

SEO-friendly e-commerce with Algolia’s instantsearch.js

Harness the Power of Flutter for Your Next Web App Development Project

flutter for web app development

Best Practices for Capturing User Feedback in React Native

2D Shooter: Making Everything Work Again

Destructuring Declarations in Kotlin

How to get Realtime Updates in your App from ERPNext via and Redis

Build a lighter and secure multi-stage docker image for Next JS

Best Practices of JavaScript

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Suneet Agrawal

Suneet Agrawal

More from Medium

How to Write Hello World Program in C Programming?

How to Write Hello World Program in C

Day 4 of my journey to becoming a Unity game developer

Using Walking Skeleton Approach in Software Development

Ruby gems to make things easier!