---
title: "Discussion on \"Types of Variables\" | Hashnode"
description: "Discussion on \"Types of Variables\". variables are divided into two sub categories\n1.primitive and refrence\n2.instance , static and local\nA) instance-\n\ninstance - if the value of variable changing to object to objeect is instance variable\n\ninstance variable declared inside class outside..."
url: "https://hashnode.com/posts/types-of-variables/67d86d0fdadf9edfc6b2fcb7"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Types of Variables](https://types-of-variables.hashnode.dev/types-of-variables?utm_source=hashnode&utm_medium=feed)

variables are divided into two sub categories 1.primitive and refrence 2.instance , static and local A) instance- instance - if the value of variable changing to object to objeect is instance variable instance variable declared inside class outside...

Mar 17, 2025 · 2 min read · types-of-variables.hashnode.dev  
Read the article

-   [#types-of-variables](https://hashnode.com/tag/types-of-variables)

## Written by

[Ayush Waghmare](https://hashnode.com/@waghmare960)

@waghmare960

  
[View profile](https://hashnode.com/@waghmare960)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
