---
title: "Discussion on \"What Does “Static” Mean in Java?\" | Hashnode"
description: "Discussion on \"What Does “Static” Mean in Java?\". Static keyword on variables, methods, blocks and nested classes."
url: "https://hashnode.com/posts/what-does-static-mean-in-java/61c3046cc0206b3f41f53daa"
---

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

Discussion

# [What Does “Static” Mean in Java?](https://techwithmaddy.com/what-does-static-mean-in-java?utm_source=hashnode&utm_medium=feed)

Static keyword on variables, methods, blocks and nested classes.

Dec 22, 2021 · 7 min read · techwithmaddy.com  
Updated Oct 16, 2023  
Read the article

-   [#java](https://hashnode.com/tag/java)
-   [#coding](https://hashnode.com/tag/coding)
-   [#programming-languages](https://hashnode.com/tag/programming-languages)

## Written by

[Maddy](https://hashnode.com/@Maddy25)

@Maddy25 · London, UK

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

Technical Writer @ Cloudflare

Software engineer turned technical writer.

## Responses 2

Markdown supported · ⌘↵ to post

[Anakhe Ajayi](https://hashnode.com/@AAnakhe)

[Dec 22, 2021](https://hashnode.com/posts/what-does-static-mean-in-java/61c3046cc0206b3f41f53daa/comment/61c36c56c0206b3f41f547f2)

All about static keyword. Great article!

[Maddy](https://hashnode.com/@Maddy25)

[Dec 22, 2021](https://hashnode.com/posts/what-does-static-mean-in-java/61c3046cc0206b3f41f53daa/comment/61c36c56c0206b3f41f547f2#reply-61c3907d2d88363ed4ea9e6f)

Thanks for reading my article [Anakhe Ajayi](https://hashnode.com/@AAnakhe)! 😊

[Maxi Contieri](https://hashnode.com/@mcsee)

[Dec 22, 2021](https://hashnode.com/posts/what-does-static-mean-in-java/61c3046cc0206b3f41f53daa/comment/61c3172fc0206b3f41f53f6c)

Nice article!

statics are semi globals, so they should be used very, very carefully

[Maddy](https://hashnode.com/@Maddy25)

[Dec 22, 2021](https://hashnode.com/posts/what-does-static-mean-in-java/61c3046cc0206b3f41f53daa/comment/61c3172fc0206b3f41f53f6c#reply-61c353942d88363ed4ea9772)

Thanks for reading my article [Maxi Contieri](https://hashnode.com/@mcsee)! 😊

And yes I agree, they should be used sparingly. 😁
