Hi Raja,
Behavior of equals() has universal so far as Wrappers are concerned because each wrapper implements the equals method of the Object class obviously.
No matter in what way you create the wrapper object, equals will always return true if values are same.
Question only arises in case of ==.
You know the rules that says in the range of byte if two wrappers created without using "new" operator will result true. (I mean using autoboxing technique)
It is all about what
Java language designers thought to save memory in case value is within -128 to 127.
Regards,
cmbhatt