---
title: "Discussion on \"Why might you want to create static class members?\" | Hashnode"
description: "Discussion on \"Why might you want to create static class members?\". Static class members are variables or functions that are associated with the class rather than with individual objects of that class. They are defined using the static keyword and can be accessed using the class name instead of an object of the class..."
url: "https://hashnode.com/posts/why-might-you-want-to-create-static-class-members/644aa83507a6ecf6409b8300"
---

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

Discussion

# [Why might you want to create static class members?](https://namnguyendev.hashnode.dev/why-might-you-want-to-create-static-class-members?utm_source=hashnode&utm_medium=feed)

Static class members are variables or functions that are associated with the class rather than with individual objects of that class. They are defined using the static keyword and can be accessed using the class name instead of an object of the class...

Apr 27, 2023 · 2 min read · namnguyendev.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#classes](https://hashnode.com/tag/classes)

## Written by

[Nam Nguyen](https://hashnode.com/@NamNguyenDev)

@NamNguyenDev · Spring, TX

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

Software Engineer @ 100Devs

A passionate software engineer providing elegant, innovative, and accessible solutions. When I’m not click-clacking away at my keyboard, you’ll probably find me lost in a book, trying a new recipe/restaurant, or having a blast with my beautiful wife and precocious daughter. I have 10+ years of IT experience and look forward to discussing ways we can join hands for our next adventure!

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
