ASL STEM Logo

ASL STEM

Compare To Method Sign Video

No video uploaded yet.

Definition

A string is greater than another if it comes after the other in dictionary order. The String method compareTo( ) serves this purpose.

Source: Reges & Stepp, 2007

Example

Example sentence for context: "The compareTo method is the comparison function for the type."