wood burning stoves 2.0*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes K&B page398 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "K&B page398" Watch "K&B page398" New topic
Author

K&B page398

Cathy Song
Ranch Hand

Joined: Aug 24, 2003
Posts: 270

Result: 1101
Can someone please explain how line 9,10 are true?
Thanks.
Cathy Song
Ranch Hand

Joined: Aug 24, 2003
Posts: 270
I found the answer in the API

The equals method for class Object implements the most discriminating possible equivalence relation on objects; that is, for any non-null reference values x and y, this method returns true if and only if x and y refer to the same object (x == y has the value true).

Thanks
 
 
subject: K&B page398
 
Similar Threads
ArrayList Sorting Using Comparator? Exception at Runtime
Another Enthuware question
Global data and external classes
a b c