---
title: "Harshal Bafna (@harsh89) | Hashnode"
description: "Web Developer. Read the latest articles by Harshal Bafna on Hashnode."
url: "https://hashnode.com/@harsh89"
---

@harsh89

# Harshal Bafna

@harsh89 · Joined July 2022

Web Developer

### [Instance Variables vs Local Variables in JAVA](https://harsh8-9.hashnode.dev/instance-variables-vs-local-variables-in-java?utm_source=hashnode&utm_medium=feed)

Instance Variables:- Variables that are declared in the global scope i.e. at class level. By default, their values are initialized to default values depending on data types. For ex. for int data type, value is initialized to 0. The memory for inst...

1 min read · [harsh8-9.hashnode.dev](https://harsh8-9.hashnode.dev/instance-variables-vs-local-variables-in-java?utm_source=hashnode&utm_medium=feed)

[Feb 16, 2023](https://hashnode.com/posts/instance-variables-vs-local-variables-in-java/63ee0a971b02cb3d9d1f1914)
