How to use Satic method, static variable and Static Class in Java

Tutorials Shared by the Internet Community

Advertisements


Synopsis

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 inn

Statistics

  • Total Hits - 27086

  • Total Votes - 148 votes

  • Vote Up - 60 votes

  • Vote Down - 88 votes

  • Domain - javarevisited.blogspot.com

  • Category - JAVA/Core JAVA

  • Submitted By - Javin Paul

  • Submitted on - 2011-11-26 08:04:04

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. ...


Site  |   Broken  |   Tweet  |   Facebook  |     |   Save  |   Liked  |   Down

Advertisements