Save the following Java program to your home directory: EqualityExample.java
Compile and run the code. Notice how the result of primitive type equality differs from that objects. Take some time to experiment with this code. Change the value of the variables and see how the program's output changes.