java tutorial - Java equals() method - java programming - learn java - java basics - java for beginners
Learn Java - Java tutorial - Java numbers equals - Java examples - Java programs
Description
The equals () method - Java numeric object invokes the methods equalent to the object that is passed as an argument.
Syntax
Options
Detailed information about the parameters:
- o - any object..
Return value
- • In Java, equals () returns true if the argument does not have a null value, is an object of the same type and with the related numeric value.
- There are some additional requirements, described in the Java API documentation, for double and float objects.