difference between static and instance variable in java code example
Example: difference between static and instance variable
Static vs Instance
Static Belong to Class and it has one copy
Static methods only accept static members
Instance Belongs to the object
You can have multiple copies of instance variables
for example webdriver should be static since
we need one copy of webdriver.