• 08 December

    Static keyword in java with examples

    In this post, we will see about static keyword in java.So static keyword can be associated with: Variable Method Block Nested class Lets go through each one by one. Static variable: If any instance variable is declared as static.It is known as static variable. [crayon-65f97c91841e6168690709/] Some points about static variables are: Static variable belongs to […]