GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

  GeekInterview.com  >  Interview Questions  >  J2EE  >  Java

 Print  |  
Question:  What is static variable



July 07, 2005 07:34:58 #1
 nidhi j   Member Since: Visitor    Total Comments: N/A 

RE: What is static variable
 
static variables are class variables. static variables is for all instances of a class. It is not like as other variables as every instance has pwmn copy for variable. static variable is shared among all instances of class
     

 

Back To Question