The understanding of static keyword in java is so important that we as a java programmer cannot imagine a single runnable program without a static keyword. If we want to run a small program, we must use either main() method (which is static) or a static variable/block till JDK 1.6. Even we don't have the static variable/block option to run the program starting JDK 1.7 onward. Therefore, we should know all about the static keyword and keep in mind the significance of 'Static in Java'. We as a Java developer can't leave the static keyword untouched. Hence, we should have a clear understanding of static in java mandatorily. Additionally, the static keyword in java is an important topic in the interview
You are here
Home > Posts tagged "Gist of Static Keyword in Java"