What is modifier for the variables inside the public static void main(String args[]) method : I have read at many places that static method can access static variables only but when I write code, I am mentioning my variables as static and my code still works.

Is anyone out there to help me understand this concept clearly?

public class LearnMain {

		
	public static void main(String args[])
	{
		int a = 1;
		
		System.out.println(""+a);
	}
}