Understanding static - Printable Version

+- WebProgrammingTalk (http://www.webprogrammingtalk.com)
+-- Forum: Web Programming (http://www.webprogrammingtalk.com/forum-3.html)
+--- Forum: Java/Javascript (http://www.webprogrammingtalk.com/forum-18.html)
+--- Thread: Understanding static (/thread-90.html)

Understanding static - aethak - 10-23-2010

Can any one help me in understanding static keyword and static variable, i just know that with the help of the static variable we can put the values constant then run the program but can any one tell the advantage  in using the static variable

Re: Understanding static - Nikorasu - 10-25-2010

A static variable, also referred to as a class variable, is a variable which exists across instances of a class.

Re: Understanding static - aethak - 10-25-2010

concept behind that i just dont want definition

Re: Understanding static - Shole - 12-04-2010

Interesting post Smile