Scratch for Java

Color::equals()

Two colours are the same when they are the same colour.

Syntax

Java

.equals(other)

Parameters

Name Data Type Description
other Object the object to compare with

Return

boolean

equals()

Create Shareable URL

Select Sections