// Trap can trap any class of object T public class Trap { private T trapped; public Trap() { trapped = null; } // Write the snare() method here // Write the release() method here }