ProAnswers.org

What is static variable?

static variable is used to refer the common property of all objects (that is not unique for each object) e.g. company name of employees,college name of students etc. static variable gets memory only once in class area at the time of class loading.