Object Oriented Software Engineering View all facts Glossary Help |
subject > component > module > Java module > Java method > equals method |
equals method comparison table |
Subject | have example | have purpose | is a subtopic of | is a kind of | is an instance of |
---|---|---|---|---|---|
Java method | 9.1 - The Process of Design | method | |||
equals method | boolean b = aPostalCode.equals(anotherPostalCode); | to test whether two objects are equal i.e. they contain the same data, but are not necessarily the same object | The Basics of Java | Java method |
Next Java method: Java abstract method Up: Java method Previous Java method: toString