title: Does Java have an "is kind of class" test method
body: <p>I have a baseclass, <code>Statement</code>, which several other classes inherit from, named <code>IfStatement</code>, <code>WhereStatement</code>, etc...  What is the best way to perform a test in an <code>if</code> statement to determine which sort of <code>Statement</code> class an instance is derived from?</p>