Determine if a string has all the same characters: Difference between revisions
Determine if a string has all the same characters (view source)
Revision as of 15:02, 27 May 2023
, 1 year agoAdded language identifier.
m (→{{header|J}}) |
m (Added language identifier.) |
||
Line 1,697:
===Using Java 8===
<syntaxhighlight lang="java">
import java.util.OptionalInt;
|