JAVA

Static keyword in Java

Static keyword can be used with class, variable, method and block. Static members belong to the class instead of a specific instance, this means if you make a member static, you can access it without object. Static Block Static block is used for initializing the static variables.This block gets executed Read more…

By Ashish, ago