what is static keyword in java?
Static keyword in java is used for memory management only.The static keyword can be used in variable and method.
we create static keyword on variable incase lets assume that there are many student in college.They are
in same college. If we have to write all student college name, it is waste of time and memory if we declared
college name static then we need not have to write college name for everystudent,we use static variable at once
and use it for all of the student.
For method ,we need not have to create object instance ,for student.age()
wherer student is class and age is static method