CSS font stacks & developer FAQs with Web standards
Site navigation below

One of hundreds of answers available with our premium content service.

Part answer

A: The String class overrides the default implementation of the equals(Object) method to compare the string contents of each object. In this case equivalent string contents are considered equal. The StringBuffer class does not override the superclass Object equals(Object) method, which tests whether the argument refers to the same object reference.

… full answer hidden

Click for full answers

Premium members click below for full answer
Why don't two StringBuffers match?

Home · Web fonts · Font stacks · FAQs · Java · CSS · Javascript · HTML · Site manager