Java Advance Go Back Applying static keywords to methods and fields views 15:54 Memory management in Java can be effectively done with the use of the “static” keyword.Static keyword can be applied to methods, variables and classes.Let us see how the static keyword is applied to the variable. Create if and if/else constructs Using a switch statement Creating and Using Arrays Multidimensional Array Using Loop constructs Creating and using Do/While loops Working with Methods and Encapsulation Assignment of Object referance variables Arguments and Parameters Applying static keywords to methods and fields Defualt constructor and User defined constructor Applying access modifiers Applying encapsulation principles to a class