File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Harry Henriques
Ranch Hand
Posts: 206
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
[ == ] 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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic