---
title: "Discussion on \"Static Variables and Methods in Java\" | Hashnode"
description: "Discussion on \"Static Variables and Methods in Java\". Static variables and methods belong to class instead of class object"
url: "https://hashnode.com/posts/static-variables-and-methods-in-java/630f14d056df9e8e502584a1"
---

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

Discussion

# [Static Variables and Methods in Java](https://devwithavatar.hashnode.dev/static-variables-and-methods-in-java?utm_source=hashnode&utm_medium=feed)

Static variables and methods belong to class instead of class object

Aug 31, 2022 · 4 min read · devwithavatar.hashnode.dev  
Read the article

-   [#java](https://hashnode.com/tag/java)
-   [#blogging](https://hashnode.com/tag/blogging)
-   [#dsa](https://hashnode.com/tag/dsa)
-   [#dsawithkunal](https://hashnode.com/tag/dsawithkunal)
-   [#4articles4weeks](https://hashnode.com/tag/4articles4weeks)

## Written by

[J\_Dheeraj](https://hashnode.com/@DevWithAvatar)

@DevWithAvatar · Pune, India

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

A Coder who loves Programming and Development | Open Source Enthusiast

## Responses 1

Markdown supported · ⌘↵ to post

[VINAYAK PANCHAL](https://hashnode.com/@vinayaklonewolf)

[Sep 3, 2022](https://hashnode.com/posts/static-variables-and-methods-in-java/630f14d056df9e8e502584a1/comment/6312d7aed49bb9d8c2f7245a)

I'm currently learning Java, great article [J\_Dheeraj@4103](https://hashnode.com/@DevWithAvatar)

[J\_Dheeraj](https://hashnode.com/@DevWithAvatar)

[Sep 3, 2022](https://hashnode.com/posts/static-variables-and-methods-in-java/630f14d056df9e8e502584a1/comment/6312d7aed49bb9d8c2f7245a#reply-631361e3d49bb9d8c2f73a5d)

Thanks bro
