---
title: "What is static method in Java?"  
description: "What is static method in Java?"  
author: "Devesh Kumar Singh"  
published: 2015-11-17  
updated: 2020-09-20  
canonical: https://www.mindstick.com/interview/22902/what-is-static-method-in-java  
category: "java"  
tags: ["java"]  
reading_time: 1 minute  

---

# What is static method in Java?

1. A static method belongs to the class rather than object of a class.
2. A static method can be invoked without the need for creating an instance of a class.
3. static method can access static data member and can change the value of it.

## Answers

### Answer by Devesh Kumar Singh

1. A static method belongs to the class rather than object of a class.
2. A static method can be invoked without the need for creating an instance of a class.
3. static method can access static data member and can change the value of it.


---

Original Source: https://www.mindstick.com/interview/22902/what-is-static-method-in-java

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
