static keyword in Java
static means it belongs to the class, not to each object. A static field is one shared copy — like a common counter. A static method can be called without new: Math.max, main.
main is static so the JVM can start it without making your class object first. static methods cannot use this or instance fields directly. You need an object for those.
Use static for shared utilities. Making everything static is usually poor design. Accessing instance variables from static without an object is a compile error.
Let's take this on the board with one tiny Main class — no extra files. static keyword in Java — output: 1. count belongs to the class, not to an object. main can use it without new Main(). Start from main, go line by line, and stop at each print. That output is the proof for static keyword.
Explain why main must be static.