Examples of static & instance variable in Java
In this project you can see how static variable & instance variable works & implemented.
Static Variable : Belongs to class, so it will save the value in the class not in object.
Instance Variable : Belongs to object, so it will have different value in each object according to value you set