Interview Questions - Advanced Java

137.
How is it possible for two String objects with identical values not to be equal under the == operator?
The == operator compares two objects to determine if they are the same object in memory. It is possible for two String objects to have the same value, but located indifferent areas of memory.

138.
Why are the methods of the Math class static?
So they can be invoked as if they are a mathematical code library.

139.
What Checkbox method allows you to tell if a Checkbox is checked?
getState().

140.
What state is a thread in when it is executing?
An executing thread is in the running state.