---
title: "Discussion on \"Types of Variable\" | Hashnode"
description: "Discussion on \"Types of Variable\". Variables:\nVariables is container to store a value.\n\n1. Instance Variable:\n\nThe Value of the variable change object to object called as an instance variable.\n\nSyntax:\nclass Employee{\nString name;\nint id;\n}\n\n\nThe Instance variable can not be declared ..."
url: "https://hashnode.com/posts/types-of-variable/67d9a6d6b0dc13c777fe611b"
---

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

Discussion

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

Variables: Variables is container to store a value. 1. Instance Variable: The Value of the variable change object to object called as an instance variable. Syntax: class Employee{ String name; int id; } The Instance variable can not be declared ...

Mar 18, 2025 · 3 min read · vinitrokade.hashnode.dev  
Read the article

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

## Written by

[Vinit Rokade](https://hashnode.com/@vinit2)

@vinit2 · pune,maharashatra

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

“Full-stack dreams, real-world builds.”

Vinit Rokade , Full-Stack Web Developer | Lifelong Learner | Sharing coding tips, projects, and tech insights I love building creative projects, exploring new technologies, and helping others level up their coding skills. Here, I share tutorials, project walkthroughs, and everything I learn along the way.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
