title: Removing last object of ArrayList in Java
body: <p>I want to remove the last object from an <code>ArrayList</code> quickly.</p>
  
  <p>I know that <code>remove(Object O)</code> takes <code>O(n)</code> in an <code>ArrayList</code>, but I wonder if it is possible to do this in constant time since I just want to remove the <strong>last</strong> object?</p>