End of the Chapter

Classic programmed-learning exercises, refreshed for modern Java and presented in the current MrStyner.com portfolio style.

Modern Java noteThis archive has been refreshed for Java 25 LTS. Core language concepts remain useful, while outdated setup instructions and browser-era Java are labeled or replaced. Java 26 is the current feature release; Java 25 is used here as the stable teaching baseline.
go to previous page   go to home page          

Say that you know that thing1.equals( thing2 ) is FALSE.

What can you then say about (thing1 == thing2 ) ?

Answer:

(thing1 == thing2 ) will be false, because the only way for thing1.equals( thing2 ) to be false is for there to be two objects.

End of the Chapter

If you feel equal to the task, review the following topics.

The next chapter continues the discussion of objects and classes.

You have reached the end of the chapter.

go to previous page   go to home page