What are the differences between static and volatile variables in Java?

Technical