How to use Satic method, static variable and Static Class in Java
|Top Tutorials||New Tutorials||Submit||Login||Register|
Total Hits: 4518
Total Votes: 16 votes
Category: JAVA/Core JAVA
Submitted on: 2011-11-26 08:04:04
Submitted By: Javin Paul
Description:Do you know how to use Static method , Static variable and Static Class in Java ? static is an important keyword in Java. Static can be applied to inner classes, variables and methods. static belongs to Class in Java and value of static variable will always be same for all instance of that Class. static methods are also binded at compile time as opposed to non static method which are binded at runtime. This article explains lot of important details about static keyword in Java. More detail...