• Courses
  • Code Compiler
  • Discuss
  • Pricing
  • Teams
Menu
0

Why main method is always static

Main method is static but why? is it possible make working code thats without static before main?

java
4th Oct 2018, 2:10 PM
Marta Sidor
Marta Sidor - avatar
1 Answer
+ 1
https://stackoverflow.com/questions/413898/what-does-the-static-keyword-do-in-a-class
4th Oct 2018, 2:21 PM
Sam Pache
Sam Pache - avatar

Often have questions like this?

Learn more efficiently, for free:

  • Introduction to Python

    7.1M learners

  • Introduction to Java

    4.7M learners

  • Introduction to C

    1.5M learners

  • Introduction to HTML

    7.5M learners

See all courses
Hot today
Collision bug in player movement — not sure what's wrong
1 Votes
code coach
3 Votes
How do I do audio
0 Votes
PYTHON AND JAVA
0 Votes
I m just begginer, i don't even understand how to use this app.. send help.. im at level 1
0 Votes
Lua?
1 Votes
Does this app support the audio tag?
0 Votes
I dont know what i should do with java script
0 Votes
Is there a level after intermediate Python?
1 Votes
Query about A.I.
0 Votes