Less than 42 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!



Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
Harry Henriques
Ranch Hand
Posts: 206
  • 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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!