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
Watch video Java for Testers - Part 182 - static Non-Access Modifier online without registration, duration hours minute second in high quality. This video was added by user QAFox 03 January 2020, don't forget to share it with your friends and acquaintances, it has been viewed on our site 1,392 once and liked it 21 people.