This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Errata pg563 K&B Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Errata pg563 K&B "SCJP for Java 5 Study Guide Watch "Errata pg563 K&B "SCJP for Java 5 Study Guide New topic
Author

Errata pg563 K&B "SCJP for Java 5 Study Guide'

Harry Henriques
Ranch Hand

Joined: Jun 17, 2009
Posts: 206
[ == ] tests to see if both names refer to the same object.



[ equals ] tests to see if both names are "meaningfully equivalent"




example below demonstrates code errata




C:\Documents and Settings\Harry Henriques>javac Dog.java

C:\Documents and Settings\Harry Henriques>java Dog
false
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Errata pg563 K&B "SCJP for Java 5 Study Guide'
 
Similar Threads
Comparing Maps hashcodes problem??
HashMap
Please help
Problem faced in using hashset(comparison of equal elements)