wood burning stoves 2.0*
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
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)