1. Suppose x and y are of type int, and are already assigned values. Write a code snippet (in this case, two to three java statements) that will swap the values associated with x and y. So, for example, if x = 2 and y = 3 before the code snippet executes, then x = 3 and y = 2 will be true after it executes.
2. Suppose x, y, and z are of type int. Using an appropriate function from the Math class, write a single Java statement which defines a variable m of type int and assigns it a value equal to the minimum of x, y, and z.
3. Write two Java statements that, when executed together, use an appropriate class of the java.util package to generate a random integer between $0$ to $100$, inclusive.