Skip to content

Instantly share code, notes, and snippets.

@madhoshyagnik
Last active April 13, 2024 04:04
Show Gist options
  • Save madhoshyagnik/dc2ea89b48b702e67f0e79a54079c624 to your computer and use it in GitHub Desktop.
Save madhoshyagnik/dc2ea89b48b702e67f0e79a54079c624 to your computer and use it in GitHub Desktop.
//primitive data types are store in a stack, reference data types are stored in a heap
//explanation - the data type created is a list, key pair data type
//for both the variables, a single value is stored in the heap, changing any one variable
// would change the value for both variables, unlike primitive data types, number, string,
// booolean
@madhoshyagnik
Copy link
Author

image

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment