---
title: "why java main method is static?"  
description: "why java main method is static?"  
author: "Samuel Fernandes"  
published: 2015-03-27  
updated: 2020-09-24  
canonical: https://www.mindstick.com/interview/2363/why-java-main-method-is-static  
category: "java"  
tags: ["java"]  
reading_time: 1 minute  

---

# why java main method is static?

\

## Answers

### Answer by Anonymous User

because object is not required to call static method if it were non-static method, jvm create object first then call main() method that will lead the problem of extra memory allocation.

### Answer by Samuel Fernandes

\


---

Original Source: https://www.mindstick.com/interview/2363/why-java-main-method-is-static

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
