In this video, I have explained the various details around static Non-Access Modifier:
* Java classes cannot be specified with 'static' non-access modifier
* Variables declared directly inside the class but outside the methods and are specified with 'static' modifier are known as static variables
* Memory allocated to the static variables is different from the memory allocated to the instance variables
* static variables need to be accessed with the help of Class name, as they belong to the Class memory
* static variables are generally used to store common data, whereas Object variables/Instance variables are used to store Object-specific data.
* static can also be used with methods
* static can only access static stuff