---
title: "Comment by Srish Codes on \"static Keyword\" | Hashnode"
description: "You could also explain when to declare methods, classes and variables as static and when to not do so 🙂"
url: "https://hashnode.com/posts/static-keyword/60d858b9cb0aa8118c23c896/comment/60d8b557de92ef110afdf99c"
---

[Discussion](https://hashnode.com/posts/static-keyword/60d858b9cb0aa8118c23c896)

Comment [static Keyword](https://hashnode.com/posts/static-keyword/60d858b9cb0aa8118c23c896)

[Srish Codes](https://hashnode.com/@srishcodes)

[Jun 27, 2021](https://hashnode.com/posts/static-keyword/60d858b9cb0aa8118c23c896/comment/60d8b557de92ef110afdf99c)

You could also explain when to declare methods, classes and variables as static and when to not do so 🙂

[Ritvik Dubey](https://hashnode.com/@ritvikdubey27)

[Jul 4, 2021](https://hashnode.com/posts/static-keyword/60d858b9cb0aa8118c23c896/comment/60d8b557de92ef110afdf99c#reply-60e1d04f03707d644a502d17)

Oh sure I'll add it. Thank you so much for your feedback.
