public class CharArrayFunctions
extends java.lang.Object
Constructor and Description |
---|
CharArrayFunctions() |
Modifier and Type | Method and Description |
---|---|
static void |
print(char[] chars)
Prints an array of characters, one line each.
|
static void |
print(char[] chars,
boolean enumerated)
Prints an array of characters, one line each.
|
public static void print(char[] chars)
chars
- an array of characters.public static void print(char[] chars, boolean enumerated)
chars
- an array of characters.enumerated
- whether the print shall contain index numbers.