Meaningless Drivel is fun!*
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


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
 
GeeCON Prague 2014
 
subject: Errata pg563 K&B "SCJP for Java 5 Study Guide'